Add test case for invalid ini key in different section header
This commit is contained in:
parent
eef4f87e7b
commit
8f2c2a5dd9
|
@ -173,6 +173,16 @@ class TestParseIni:
|
|||
),
|
||||
(
|
||||
"""
|
||||
[some_other_header]
|
||||
unknown_ini = value1
|
||||
[pytest]
|
||||
minversion = 5.0.0
|
||||
""",
|
||||
[],
|
||||
[],
|
||||
),
|
||||
(
|
||||
"""
|
||||
[pytest]
|
||||
minversion = 5.0.0
|
||||
""",
|
||||
|
|
Loading…
Reference in New Issue