/third_party/python/Lib/test/ |
H A D | test_frozen.py | 16 from test.support import captured_stdout, import_helper namespace 24 with import_helper.frozen_modules(): 31 with import_helper.CleanImport('__phello__', '__phello__.spam'): 32 with import_helper.frozen_modules(enabled=False): 34 with import_helper.frozen_modules(enabled=True): 43 with import_helper.CleanImport('__phello__', '__phello__.spam'): 44 with import_helper.frozen_modules(enabled=True): 46 with import_helper.frozen_modules(enabled=False):
|
H A D | test_audit.py | 8 from test.support import import_helper namespace 62 import_helper.import_module("marshal") 67 import_helper.import_module("pickle") 104 import_helper.import_module("winreg") 118 import_helper.import_module("socket") 144 import_helper.import_module("http.client") 159 sqlite3 = import_helper.import_module("sqlite3") 190 syslog = import_helper.import_module("syslog")
|
H A D | test_webbrowser.py | 8 from test.support import import_helper namespace 277 webbrowser = import_helper.import_fresh_module('webbrowser') 291 webbrowser = import_helper.import_fresh_module('webbrowser') 300 webbrowser = import_helper.import_fresh_module('webbrowser') 306 webbrowser = import_helper.import_fresh_module('webbrowser') 313 webbrowser = import_helper.import_fresh_module('webbrowser') 317 webbrowser = import_helper.import_fresh_module('webbrowser') 326 webbrowser = import_helper.import_fresh_module('webbrowser') 331 webbrowser = import_helper.import_fresh_module('webbrowser')
|
H A D | test_tix.py | 4 from test.support import import_helper namespace 12 _tkinter = import_helper.import_module('_tkinter') 18 tix = import_helper.import_module('tkinter.tix', deprecated=True)
|
H A D | test_tk.py | 3 from test.support import import_helper namespace 10 import_helper.import_module('_tkinter')
|
H A D | test_xxtestfuzz.py | 2 from test.support import import_helper namespace 5 _xxtestfuzz = import_helper.import_module('_xxtestfuzz')
|
H A D | test_nis.py | 2 from test.support import import_helper namespace 10 nis = import_helper.import_module('nis')
|
H A D | test_fileutils.py | 6 from test.support import import_helper namespace 9 _testcapi = import_helper.import_module('_testinternalcapi')
|
H A D | test_ttk_guionly.py | 3 from test.support import import_helper namespace 10 import_helper.import_module('_tkinter')
|
H A D | test_xxlimited.py | 2 from test.support import import_helper namespace 5 xxlimited = import_helper.import_module('xxlimited') 6 xxlimited_35 = import_helper.import_module('xxlimited_35')
|
H A D | test_picklebuffer.py | 11 from test.support import import_helper namespace 78 ndarray = import_helper.import_module("_testbuffer").ndarray 112 ndarray = import_helper.import_module("_testbuffer").ndarray 138 ndarray = import_helper.import_module("_testbuffer").ndarray
|
H A D | test_future.py | 7 from test.support import import_helper namespace 28 with import_helper.CleanImport('future_test1'): 33 with import_helper.CleanImport('future_test2'): 38 with import_helper.CleanImport('test_future3'): 117 with import_helper.CleanImport("test.test_future5"):
|
H A D | test_multiprocessing_main_handling.py | 3 from test.support import import_helper namespace 5 import_helper.import_module('_multiprocessing') 202 pyc_file = import_helper.make_legacy_pyc(script_name) 219 pyc_file = import_helper.make_legacy_pyc(script_name) 279 pyc_file = import_helper.make_legacy_pyc(script_name)
|
H A D | test_type_cache.py | 4 from test.support import import_helper namespace 11 type_get_version = import_helper.import_module('_testcapi').type_get_version
|
H A D | test_sundry.py | 4 from test.support import import_helper namespace 14 import_helper.import_module('test.test_{}'.format(name))
|
/third_party/python/Lib/test/test_importlib/frozen/ |
H A D | test_loader.py | 5 from test.support import captured_stdout, import_helper, STDLIB_DIR namespace 25 with import_helper.frozen_modules(): 44 with import_helper.frozen_modules(): 124 with import_helper.frozen_modules(): 212 with import_helper.frozen_modules(): 232 with import_helper.frozen_modules(): 243 with import_helper.frozen_modules(): 252 with import_helper.frozen_modules(): 261 with import_helper.frozen_modules():
|
H A D | test_finder.py | 11 from test.support import import_helper, REPO_ROOT, STDLIB_DIR namespace 28 with import_helper.frozen_modules(): 155 with import_helper.CleanImport(*imported, usefrozen=True): 171 with import_helper.frozen_modules(enabled=False): 193 with import_helper.frozen_modules():
|
/third_party/python/Lib/test/test_tools/ |
H A D | test_sundry.py | 11 from test.support import import_helper namespace 33 old_modules = import_helper.modules_setup() 46 import_helper.modules_cleanup(*old_modules)
|
H A D | __init__.py | 7 from test.support import import_helper namespace 41 with import_helper.DirsOnSysPath(tooldir) as cm: 45 with import_helper.DirsOnSysPath(scriptsdir):
|
/third_party/python/Lib/test/test_json/ |
H A D | __init__.py | 7 from test.support import import_helper namespace 11 cjson = import_helper.import_fresh_module('json', fresh=['_json']) 12 pyjson = import_helper.import_fresh_module('json', blocked=['_json'])
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | __init__.py | 4 from test.support import import_helper namespace 9 import_helper.import_module('concurrent.futures')
|
/third_party/python/Lib/test/test_sqlite3/ |
H A D | __init__.py | 1 from test.support import import_helper, load_package_tests, verbose namespace 4 import_helper.import_module('_sqlite3')
|
/third_party/python/Lib/ctypes/test/ |
H A D | __init__.py | 4 from test.support import import_helper namespace 8 ctypes = import_helper.import_module('ctypes')
|
H A D | test_values.py | 10 from test.support import import_helper namespace 80 with import_helper.frozen_modules(): 88 with import_helper.frozen_modules():
|
/third_party/python/Lib/test/test_capi/ |
H A D | test_eval_code_ex.py | 3 from test.support import import_helper namespace 7 _testcapi = import_helper.import_module('_testcapi')
|