From: Jakub KulĂ­k Date: Tue, 11 Mar 2025 09:09:04 +0000 (+0100) Subject: gh-130932: cwd cannot be removed on Solaris/Illumos (#131037) X-Git-Tag: v3.14.0a6~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69309a55bcb5381a9a218edc910da135f4d67479;p=thirdparty%2FPython%2Fcpython.git gh-130932: cwd cannot be removed on Solaris/Illumos (#131037) --- diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py index bf2bf066ceeb..33df4fef0b24 100644 --- a/Lib/test/test_import/__init__.py +++ b/Lib/test/test_import/__init__.py @@ -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")