We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b6aee8 commit 4b315b0Copy full SHA for 4b315b0
Lib/test/test_tools/test_freeze.py
@@ -4,6 +4,8 @@
4
import textwrap
5
import unittest
6
7
+from test import support
8
+
9
from . import imports_under_tool, skip_if_missing
10
skip_if_missing('freeze')
11
with imports_under_tool('freeze', 'test'):
@@ -14,6 +16,8 @@
14
16
class TestFreeze(unittest.TestCase):
15
17
18
def test_freeze_simple_script(self):
19
+ if support.use_resources:
20
+ support.requires('cpu', 'test re-builds Python out-of-tree')
21
script = textwrap.dedent("""
22
import sys
23
print('running...')
0 commit comments