From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 6 Oct 2025 18:05:07 +0000 (+0200) Subject: [3.13] gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855... X-Git-Tag: v3.13.8~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6bdd9e2705abf7176d34c35bf19b87f0f699c626;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855) (GH-139675) gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855) (cherry picked from commit 171f787a297ec4b02cfe8b3ebab8374018391f20) Co-authored-by: Furkan Onder --- diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py index 35f34509d45b..064188c23f54 100644 --- a/Lib/test/test_import/__init__.py +++ b/Lib/test/test_import/__init__.py @@ -1206,6 +1206,7 @@ except ImportError as e: @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")