Bug Fix 11282: config.getini returns an empty list for an option of type string absent in INI file
This commit is contained in:
parent
f738556caf
commit
12eb739ff0
|
@ -341,19 +341,6 @@ class TestGeneralUsage:
|
|||
assert res.ret == 0
|
||||
res.stdout.fnmatch_lines(["*1 passed*"])
|
||||
|
||||
def test_direct_addressing_selects_duplicates_2(self, pytester: Pytester) -> None:
|
||||
p = pytester.makepyfile(
|
||||
"""
|
||||
import pytest
|
||||
|
||||
@pytest.mark.parametrize("a", ["a","b","c","a","a1"])
|
||||
def test_func(a):
|
||||
pass
|
||||
"""
|
||||
)
|
||||
result = pytester.runpytest(p)
|
||||
result.assert_outcomes(failed=0, passed=5)
|
||||
|
||||
def test_direct_addressing_notfound(self, pytester: Pytester) -> None:
|
||||
p = pytester.makepyfile(
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue