diff --git a/testing/test_tmpdir.py b/testing/test_tmpdir.py index c315055f9..efff3251f 100644 --- a/testing/test_tmpdir.py +++ b/testing/test_tmpdir.py @@ -121,7 +121,7 @@ class TestConfigTmpPath: # Check the base dir itself is gone without depending on test results assert base_dir == [] - @pytest.mark.parametrize("policy", ["failed", "all"]) + @pytest.mark.parametrize("policy", ['"failed"', '"all"']) @pytest.mark.parametrize("count", [0, 1, 3]) def test_retention_count(self, pytester: Pytester, policy, count) -> None: p = pytester.makepyfile(