diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index b6e438e3f..bf33f03c6 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -367,6 +367,19 @@ class TestGeneralUsage: result = pytester.runpytest(p) result.assert_outcomes(failed=0, passed=9) + def test_direct_addressing_selects_duplicates_2(self, pytester: Pytester) -> None: + p = pytester.makepyfile( + """ + import pytest + + @pytest.mark.parametrize("a", [a,b,c,a_1]) + def test_func(a): + pass + """ + ) + result = pytester.runpytest(p) + result.assert_outcomes(failed=0, passed=9) + def test_direct_addressing_notfound(self, pytester: Pytester) -> None: p = pytester.makepyfile( """