From 25789e83d5504280893380a2f25d5ce345916922 Mon Sep 17 00:00:00 2001 From: Furkan Onder Date: Mon, 6 Oct 2025 17:42:26 +0000 Subject: [PATCH] gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855) (cherry picked from commit 171f787a297ec4b02cfe8b3ebab8374018391f20) Co-authored-by: Furkan Onder --- 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 35f34509d45ba3..064188c23f54fd 100644 --- a/Lib/test/test_import/__init__.py +++ b/Lib/test/test_import/__init__.py @@ -1206,6 +1206,7 @@ class substr(str): @unittest.skipIf(sys.platform == 'win32', 'Cannot delete cwd on Windows') @unittest.skipIf(sys.platform == 'sunos5', 'Cannot delete cwd on Solaris/Illumos') + @unittest.skipIf(sys.platform.startswith('aix'), 'Cannot delete cwd on AIX') def test_script_shadowing_stdlib_cwd_failure(self): with os_helper.temp_dir() as tmp: subtmp = os.path.join(tmp, "subtmp")