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

Skip to content

Commit 3e173e5

Browse files
[3.13] gh-130932: cwd cannot be removed on Solaris/Illumos (GH-131037) (#131073)
gh-130932: cwd cannot be removed on Solaris/Illumos (GH-131037) (cherry picked from commit 69309a5) Co-authored-by: Jakub Kulík <[email protected]>
1 parent c702223 commit 3e173e5

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

12061206
@unittest.skipIf(sys.platform == 'win32', 'Cannot delete cwd on Windows')
1207+
@unittest.skipIf(sys.platform == 'sunos5', 'Cannot delete cwd on Solaris/Illumos')
12071208
def test_script_shadowing_stdlib_cwd_failure(self):
12081209
with os_helper.temp_dir() as tmp:
12091210
subtmp = os.path.join(tmp, "subtmp")

0 commit comments

Comments
 (0)