diff options
author | Gleb Nikonorov <gleb.i.nikonorov@gmail.com> | 2020-05-31 00:49:21 -0400 |
---|---|---|
committer | Gleb Nikonorov <gleb.i.nikonorov@gmail.com> | 2020-05-31 00:49:21 -0400 |
commit | 8f2c2a5dd9fffc2a59d3ed868c801746ce4b51b5 (patch) | |
tree | 90ae5f62f19252630066240521fcac187f59169d /testing/test_config.py | |
parent | eef4f87e7b9958687b6032f8475535ac0beca10f (diff) | |
download | pytest-8f2c2a5dd9fffc2a59d3ed868c801746ce4b51b5.tar.gz |
Add test case for invalid ini key in different section header
Diffstat (limited to 'testing/test_config.py')
-rw-r--r-- | testing/test_config.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/test_config.py b/testing/test_config.py index 9323e6716..e35019337 100644 --- a/testing/test_config.py +++ b/testing/test_config.py @@ -173,6 +173,16 @@ class TestParseIni: ), ( """ + [some_other_header] + unknown_ini = value1 + [pytest] + minversion = 5.0.0 + """, + [], + [], + ), + ( + """ [pytest] minversion = 5.0.0 """, |