Home
last modified time | relevance | path

Searched refs:import_helper (Results 1 - 25 of 145) sorted by relevance

123456

/third_party/python/Lib/test/
H A Dtest_frozen.py16 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 Dtest_audit.py8 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 Dtest_webbrowser.py8 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 Dtest_tix.py4 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 Dtest_tk.py3 from test.support import import_helper namespace
10 import_helper.import_module('_tkinter')
H A Dtest_xxtestfuzz.py2 from test.support import import_helper namespace
5 _xxtestfuzz = import_helper.import_module('_xxtestfuzz')
H A Dtest_nis.py2 from test.support import import_helper namespace
10 nis = import_helper.import_module('nis')
H A Dtest_fileutils.py6 from test.support import import_helper namespace
9 _testcapi = import_helper.import_module('_testinternalcapi')
H A Dtest_ttk_guionly.py3 from test.support import import_helper namespace
10 import_helper.import_module('_tkinter')
H A Dtest_xxlimited.py2 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 Dtest_picklebuffer.py11 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 Dtest_future.py7 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 Dtest_multiprocessing_main_handling.py3 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 Dtest_type_cache.py4 from test.support import import_helper namespace
11 type_get_version = import_helper.import_module('_testcapi').type_get_version
H A Dtest_sundry.py4 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 Dtest_loader.py5 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 Dtest_finder.py11 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 Dtest_sundry.py11 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__.py7 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__.py7 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__.py4 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__.py1 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__.py4 from test.support import import_helper namespace
8 ctypes = import_helper.import_module('ctypes')
H A Dtest_values.py10 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 Dtest_eval_code_ex.py3 from test.support import import_helper namespace
7 _testcapi = import_helper.import_module('_testcapi')

Completed in 9 milliseconds

123456