Home
last modified time | relevance | path

Searched refs:import_fresh_module (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_webbrowser.py273 webbrowser = support.import_fresh_module('webbrowser')
287 webbrowser = support.import_fresh_module('webbrowser')
296 webbrowser = support.import_fresh_module('webbrowser')
302 webbrowser = support.import_fresh_module('webbrowser')
309 webbrowser = support.import_fresh_module('webbrowser')
313 webbrowser = support.import_fresh_module('webbrowser')
322 webbrowser = support.import_fresh_module('webbrowser')
327 webbrowser = support.import_fresh_module('webbrowser')
Dtest_datetime.py4 from test.support import import_fresh_module, run_unittest
9 pure_tests = import_fresh_module(TESTS, fresh=['datetime', '_strptime'],
11 fast_tests = import_fresh_module(TESTS, fresh=['datetime',
Dtest_lib2to3.py2 from test.support import check_warnings, import_fresh_module
5 load_tests = import_fresh_module('lib2to3.tests', fresh=['lib2to3']).load_tests
Dtest_xml_etree_c.py5 from test.support import import_fresh_module
9 cET = import_fresh_module('xml.etree.ElementTree',
11 cET_alias = import_fresh_module('xml.etree.cElementTree',
Dtest_stat.py6 from test.support import TESTFN, import_fresh_module
8 c_stat = import_fresh_module('stat', fresh=['_stat'])
9 py_stat = import_fresh_module('stat', blocked=['_stat'])
Dtest_binhex.py10 binhex = support.import_fresh_module('binhex')
Dtest_bisect.py6 py_bisect = support.import_fresh_module('bisect', blocked=['_bisect'])
7 c_bisect = support.import_fresh_module('bisect', fresh=['_bisect'])
Dtest_heapq.py11 py_heapq = support.import_fresh_module('heapq', blocked=['_heapq'])
12 c_heapq = support.import_fresh_module('heapq', fresh=['_heapq'])
Dtest_queue.py11 py_queue = support.import_fresh_module('queue', blocked=['_queue'])
12 c_queue = support.import_fresh_module('queue', fresh=['_queue'])
Dtest_dbm.py183 self.dbm = test.support.import_fresh_module('dbm')
Dtest_hashlib.py21 from test.support import _4G, bigmemtest, import_fresh_module
41 openssl_hashlib = import_fresh_module('hashlib', fresh=['_hashlib'])
43 builtin_hashlib = import_fresh_module('hashlib', blocked=['_hashlib'])
Dtest_uuid.py13 py_uuid = support.import_fresh_module('uuid', blocked=['_uuid'])
14 c_uuid = support.import_fresh_module('uuid', fresh=['_uuid'])
Dtest_operator.py7 py_operator = support.import_fresh_module('operator', blocked=['_operator'])
8 c_operator = support.import_fresh_module('operator', fresh=['_operator'])
Dtest_ordered_dict.py15 py_coll = support.import_fresh_module('collections', blocked=['_collections'])
16 c_coll = support.import_fresh_module('collections', fresh=['_collections'])
/external/python/cpython3/Modules/_decimal/tests/
Dbench.py11 from test.support import import_fresh_module
13 from test.test_support import import_fresh_module
15 C = import_fresh_module('decimal', fresh=['_decimal'])
16 P = import_fresh_module('decimal', blocked=['_decimal'])
Dformathelper.py34 from test.support import import_fresh_module
37 C = import_fresh_module('decimal', fresh=['_decimal'])
38 P = import_fresh_module('decimal', blocked=['_decimal'])
Ddeccheck.py46 from test.support import import_fresh_module
52 C = import_fresh_module('decimal', fresh=['_decimal'])
53 P = import_fresh_module('decimal', blocked=['_decimal'])
/external/python/cpython3/Lib/test/test_zoneinfo/
D_support.py6 from test.support import import_fresh_module
38 py_module = import_fresh_module("zoneinfo", blocked=["_zoneinfo"])
/external/python/cpython3/Lib/test/test_json/
D__init__.py9 cjson = support.import_fresh_module('json', fresh=['_json'])
10 pyjson = support.import_fresh_module('json', blocked=['_json'])
/external/python/cpython2/Lib/json/tests/
D__init__.py10 cjson = test_support.import_fresh_module('json', fresh=['_json'])
11 pyjson = test_support.import_fresh_module('json', blocked=['_json'])
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py58 frozen = support.import_fresh_module(module_name)
59 source = support.import_fresh_module(module_name, fresh=fresh,
/external/python/cpython2/Lib/test/
Dtest_heapq.py9 py_heapq = test_support.import_fresh_module('heapq', blocked=['_heapq'])
10 c_heapq = test_support.import_fresh_module('heapq', fresh=['_heapq'])
Dtest_warnings.py15 py_warnings = test_support.import_fresh_module('warnings', blocked=['_warnings'])
16 c_warnings = test_support.import_fresh_module('warnings', fresh=['_warnings'])
Dtest_test_support.py31 support.import_fresh_module("ftplib")
/external/python/cpython2/Doc/library/
Dtest.rst405 .. function:: import_fresh_module(name, fresh=(), blocked=(), deprecated=False)
435 py_warnings = import_fresh_module('warnings', blocked=['_warnings'])
436 c_warnings = import_fresh_module('warnings', fresh=['_warnings'])

12