Skip to content

Commit aa56cfc

Browse files
Do not run the test on buildbots.
1 parent 4b315b0 commit aa56cfc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Lib/test/test_tools/test_freeze.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
"""Sanity-check tests for the "freeze" tool."""
22

3+
import os
34
import sys
45
import textwrap
56
import unittest
67

7-
from test import support
8-
98
from . import imports_under_tool, skip_if_missing
109
skip_if_missing('freeze')
1110
with imports_under_tool('freeze', 'test'):
1211
import freeze as helper
1312

1413

1514
@unittest.skipIf(sys.platform.startswith('win'), 'not supported on Windows')
15+
@unittest.skipIf(os.environ.get('USER') == 'buildbot',
16+
'not all buildbots have enough space')
1617
class TestFreeze(unittest.TestCase):
1718

1819
def test_freeze_simple_script(self):
19-
if support.use_resources:
20-
support.requires('cpu', 'test re-builds Python out-of-tree')
2120
script = textwrap.dedent("""
2221
import sys
2322
print('running...')

0 commit comments

Comments
 (0)