From 69309a55bcb5381a9a218edc910da135f4d67479 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jakub=20Kul=C3=ADk?= Date: Tue, 11 Mar 2025 10:09:04 +0100 Subject: [PATCH] gh-130932: cwd cannot be removed on Solaris/Illumos (#131037) --- Lib/test/test_import/__init__.py | 1 + 1 file changed, 1 insertion(+) 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") -- 2.47.3