From 70d6ddac695f1fcc3d2dd6dc453ac68dc4660838 Mon Sep 17 00:00:00 2001 From: Yusuke Kadowaki Date: Wed, 23 Nov 2022 17:59:47 +0900 Subject: [PATCH] Fix policy --- testing/test_tmpdir.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_tmpdir.py b/testing/test_tmpdir.py index 2f6f7a873..57f442b04 100644 --- a/testing/test_tmpdir.py +++ b/testing/test_tmpdir.py @@ -166,7 +166,7 @@ class TestConfigTmpPath: assert len(base_dir) == 0 # issue #10502 - def test_policy_none_keeps_dir_when_skipped_from_fixture( + def test_policy_all_keeps_dir_when_skipped_from_fixture( self, pytester: Pytester ) -> None: p = pytester.makepyfile( @@ -184,7 +184,7 @@ class TestConfigTmpPath: pytester.makepyprojecttoml( """ [tool.pytest.ini_options] - tmp_path_retention_policy = "none" + tmp_path_retention_policy = "all" """ ) pytester.inline_run(p)