From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 22 Dec 2023 11:06:46 +0000 (+0100) Subject: [3.12] gh-113384: Skip test_freeze for framework builds on macOS (GH-113390) (#113395) X-Git-Tag: v3.12.2~277 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4259acd39464b292075f75b7604535cb6158c25b;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-113384: Skip test_freeze for framework builds on macOS (GH-113390) (#113395) gh-113384: Skip test_freeze for framework builds on macOS (GH-113390) (cherry picked from commit bee627c1e29a070562d1a540a6e513d0daa322f5) Co-authored-by: Ronald Oussoren --- diff --git a/Lib/test/test_tools/test_freeze.py b/Lib/test/test_tools/test_freeze.py index 671ec2961e7f..0e7ed67de710 100644 --- a/Lib/test/test_tools/test_freeze.py +++ b/Lib/test/test_tools/test_freeze.py @@ -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.