]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-113384: Skip test_freeze for framework builds on macOS (GH-113390) (#113395)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 Dec 2023 11:06:46 +0000 (12:06 +0100)
committerGitHub <noreply@github.com>
Fri, 22 Dec 2023 11:06:46 +0000 (12:06 +0100)
gh-113384: Skip test_freeze for framework builds on macOS (GH-113390)
(cherry picked from commit bee627c1e29a070562d1a540a6e513d0daa322f5)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Lib/test/test_tools/test_freeze.py

index 671ec2961e7f8f5f3c3619b7380b220082c5e725..0e7ed67de710676b3805ebc971d30f83ea3a7d78 100644 (file)
@@ -14,6 +14,8 @@ with imports_under_tool('freeze', 'test'):
 
 @support.requires_zlib()
 @unittest.skipIf(sys.platform.startswith('win'), 'not supported on Windows')
+@unittest.skipIf(sys.platform == 'darwin' and sys._framework,
+        'not supported for frameworks builds on macOS')
 @support.skip_if_buildbot('not all buildbots have enough space')
 # gh-103053: Skip test if Python is built with Profile Guided Optimization
 # (PGO), since the test is just too slow in this case.