Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 69309a5

Browse files
authored
gh-130932: cwd cannot be removed on Solaris/Illumos (#131037)
1 parent fe186d7 commit 69309a5

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
@@ -1186,6 +1186,7 @@ class substr(str):
11861186
self.assertRegex(line, rb"cannot import name 'Fraction' from 'fractions' \(.*\)")
11871187

11881188
@unittest.skipIf(sys.platform == 'win32', 'Cannot delete cwd on Windows')
1189+
@unittest.skipIf(sys.platform == 'sunos5', 'Cannot delete cwd on Solaris/Illumos')
11891190
def test_script_shadowing_stdlib_cwd_failure(self):
11901191
with os_helper.temp_dir() as tmp:
11911192
subtmp = os.path.join(tmp, "subtmp")

0 commit comments

Comments
 (0)