From 3e173e505a5267bbf8c372ffea9d1e9e7f67c5bd Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 11 Mar 2025 10:33:50 +0100 Subject: [PATCH] [3.13] gh-130932: cwd cannot be removed on Solaris/Illumos (GH-131037) (#131073) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit gh-130932: cwd cannot be removed on Solaris/Illumos (GH-131037) (cherry picked from commit 69309a55bcb5381a9a218edc910da135f4d67479) Co-authored-by: Jakub Kulík --- 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 9fd4dd4ed48e..fe70ac7d8713 100644 --- a/Lib/test/test_import/__init__.py +++ b/Lib/test/test_import/__init__.py @@ -1204,6 +1204,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