File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def test_1(tmp_path):
100100 """
101101 )
102102 p_failed = pytester .makepyfile (
103- """
103+ another_file_name = """
104104 def test_1(tmp_path):
105105 assert 0 == 1
106106 """
@@ -186,23 +186,6 @@ def test_2(tmp_path):
186186 assert len (test_dir ) == 1
187187 assert test_dir [0 ].name == "test_20"
188188
189- def test_policy_failed_removes_basedir_when_all_passed (
190- self , pytester : Pytester
191- ) -> None :
192- p = pytester .makepyfile (
193- """
194- def test_1(tmp_path):
195- assert 0 == 0
196- """
197- )
198-
199- pytester .inline_run (p )
200- root = pytester ._test_tmproot
201- for child in root .iterdir ():
202- base_dir = list (child .iterdir ())
203- # Check the base dir itself is gone
204- assert base_dir == []
205-
206189 # issue #10502
207190 def test_policy_failed_removes_dir_when_skipped_from_fixture (
208191 self , pytester : Pytester
You can’t perform that action at this time.
0 commit comments