mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00

When running the test suite using --use=all / -u all, exclude tzdata
since it makes test_datetime too slow (15-20 min on some buildbots)
which then times out on some buildbots.
-u tzdata must now be enabled explicitly, -u tzdata or -u all,tzdata,
to run all test_datetime tests.
Fix also regrtest command line parser to allow passing -u
extralargefile to run test_zipfile64.
Travis CI: remove -tzdata. Replace -u all,-tzdata,-cpu with -u all,-cpu since tzdata is now excluded from -u all.
(cherry picked from commit 5b392bbaeb
)
5 lines
190 B
Python
5 lines
190 B
Python
# We import importlib *ASAP* in order to test #15386
|
|
import importlib
|
|
|
|
from test.libregrtest.cmdline import _parse_args, RESOURCE_NAMES, ALL_RESOURCES
|
|
from test.libregrtest.main import main
|