]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-130932: cwd cannot be removed on Solaris/Illumos (#131037)
authorJakub Kulík <Kulikjak@gmail.com>
Tue, 11 Mar 2025 09:09:04 +0000 (10:09 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Mar 2025 09:09:04 +0000 (10:09 +0100)
Lib/test/test_import/__init__.py

index bf2bf066ceeb9e7e40a439791c271a878babd837..33df4fef0b247c03943ebb6aa66ab0a9ffda674a 100644 (file)
@@ -1186,6 +1186,7 @@ except ImportError as e:
                 self.assertRegex(line, rb"cannot import name 'Fraction' from 'fractions' \(.*\)")
 
     @unittest.skipIf(sys.platform == 'win32', 'Cannot delete cwd on Windows')
+    @unittest.skipIf(sys.platform == 'sunos5', 'Cannot delete cwd on Solaris/Illumos')
     def test_script_shadowing_stdlib_cwd_failure(self):
         with os_helper.temp_dir() as tmp:
             subtmp = os.path.join(tmp, "subtmp")