mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-20824)
This commit is contained in:
parent
91698d8caa
commit
06a40d7359
9 changed files with 29 additions and 21 deletions
|
@ -1,8 +1,10 @@
|
|||
import os
|
||||
from test.support import load_package_tests, import_module
|
||||
from test.support import load_package_tests
|
||||
from test.support import import_helper
|
||||
|
||||
|
||||
# Skip tests if we don't have concurrent.futures.
|
||||
import_module('concurrent.futures')
|
||||
import_helper.import_module('concurrent.futures')
|
||||
|
||||
def load_tests(*args):
|
||||
return load_package_tests(os.path.dirname(__file__), *args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue