Skip to content

Commit 9260690

Browse files
committed
Skip test on Windows
1 parent 818bb99 commit 9260690

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_import/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,6 +1185,7 @@ class substr(str):
11851185
for line in lines:
11861186
self.assertRegex(line, rb"cannot import name 'Fraction' from 'fractions' \(.*\)")
11871187

1188+
@unittest.skipIf(sys.platform == 'win32', 'Cannot delete cwd on Windows')
11881189
def test_script_shadowing_stdlib_cwd_failure(self):
11891190
with os_helper.temp_dir() as tmp:
11901191
subtmp = os.path.join(tmp, "subtmp")

0 commit comments

Comments
 (0)