File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 4
4
from test .support import load_package_tests
5
5
6
6
7
- # Creating a virtual environment and building C extensions is slow
8
- support .requires ('cpu' )
7
+ if support .check_sanitizer (address = True , memory = True ):
8
+ # gh-90791: Skip the test because it is too slow when Python is built
9
+ # with ASAN/MSAN: between 5 and 20 minutes on GitHub Actions.
10
+ raise unittest .SkipTest ("test too slow on ASAN/MSAN build" )
9
11
10
12
11
13
# Load all tests in package
Original file line number Diff line number Diff line change 7
7
from test .support import import_helper
8
8
9
9
10
+ if support .check_sanitizer (address = True , memory = True ):
11
+ # gh-90791: Skip the test because it is too slow when Python is built
12
+ # with ASAN/MSAN: between 5 and 20 minutes on GitHub Actions.
13
+ raise unittest .SkipTest ("test too slow on ASAN/MSAN build" )
14
+
15
+
10
16
if not support .has_subprocess_support :
11
17
raise unittest .SkipTest ("test module requires subprocess" )
12
18
Original file line number Diff line number Diff line change 18
18
class TestFreeze (unittest .TestCase ):
19
19
20
20
def test_freeze_simple_script (self ):
21
- # Building Python is slow
22
- support .requires ('cpu' )
23
-
24
21
script = textwrap .dedent ("""
25
22
import sys
26
23
print('running...')
You can’t perform that action at this time.
0 commit comments