diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72573e3d6fc8a0d..ba5c301eec9bc23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -167,7 +167,7 @@ jobs: - name: Display build info run: make pythoninfo - name: Tests - run: make buildbottest TESTOPTS="-j4 -uall,-cpu" + run: make buildbottest TESTOPTS="-j4 -uall" build_ubuntu: name: 'Ubuntu' diff --git a/Lib/test/test_tools/test_freeze.py b/Lib/test/test_tools/test_freeze.py index 2ba36ca208f9673..f51bfaaa999a848 100644 --- a/Lib/test/test_tools/test_freeze.py +++ b/Lib/test/test_tools/test_freeze.py @@ -5,7 +5,7 @@ import unittest from test import support -from test.support import os_helper +from test.support import os_helper, requires_resource from test.test_tools import imports_under_tool, skip_if_missing skip_if_missing('freeze') @@ -13,6 +13,7 @@ import freeze as helper @support.requires_zlib() +@requires_resource('cpu') @unittest.skipIf(sys.platform.startswith('win'), 'not supported on Windows') @support.skip_if_buildbot('not all buildbots have enough space') class TestFreeze(unittest.TestCase):