]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Oct 2025 18:16:55 +0000 (20:16 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 18:16:55 +0000 (20:16 +0200)
(cherry picked from commit 171f787a297ec4b02cfe8b3ebab8374018391f20)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Lib/test/test_import/__init__.py

index abbd5f1ed5f12f67e16217fb251404183c165028..b71a36ec2f7aab4604000e56feb4e10848683860 100644 (file)
@@ -1187,6 +1187,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")