Searched defs:import_fresh_module (Results 1 - 11 of 11) sorted by relevance

/external/python/cpython3/Lib/test/
H A Dtest_datetime.py4 from test.support import import_fresh_module, run_unittest namespace
9 pure_tests = import_fresh_module(TESTS, fresh=['datetime', '_strptime'],
11 fast_tests = import_fresh_module(TESTS, fresh=['datetime',
14 # XXX: import_fresh_module() is supposed to leave sys.module cache untouched,
H A Dtest_xml_etree_c.py4 from test.support import import_fresh_module namespace
8 cET = import_fresh_module('xml.etree.ElementTree',
10 cET_alias = import_fresh_module('xml.etree.cElementTree',
H A Dtest_stat.py4 from test.support import TESTFN, import_fresh_module, android_not_root namespace
6 c_stat = import_fresh_module('stat', fresh=['_stat'])
7 py_stat = import_fresh_module('stat', blocked=['_stat'])
H A Dtest_hashlib.py22 from test.support import _4G, bigmemtest, import_fresh_module namespace
28 c_hashlib = import_fresh_module('hashlib', fresh=['_hashlib'])
29 py_hashlib = import_fresh_module('hashlib', blocked=['_hashlib'])
H A Dtest_decimal.py37 from test.support import (check_warnings, import_fresh_module, TestFailed, namespace
49 C = import_fresh_module('decimal', fresh=['_decimal'])
50 P = import_fresh_module('decimal', blocked=['_decimal'])
54 cfractions = import_fresh_module('fractions', fresh=['fractions'])
56 pfractions = import_fresh_module('fractions', fresh=['fractions'])
H A Dtest_xml_etree.py21 from test.support import TESTFN, findfile, import_fresh_module, gc_collect, swap_attr namespace
2951 pyET = import_fresh_module('xml.etree.ElementTree',
/external/python/cpython3/Modules/_decimal/tests/
H A Dbench.py12 from test.support import import_fresh_module namespace
14 from test.test_support import import_fresh_module namespace
16 C = import_fresh_module('decimal', fresh=['_decimal'])
17 P = import_fresh_module('decimal', blocked=['_decimal'])
H A Dformathelper.py34 from test.support import import_fresh_module namespace
37 C = import_fresh_module('decimal', fresh=['_decimal'])
38 P = import_fresh_module('decimal', blocked=['_decimal'])
H A Ddeccheck.py35 from test.support import import_fresh_module namespace
41 C = import_fresh_module('decimal', fresh=['_decimal'])
42 P = import_fresh_module('decimal', blocked=['_decimal'])
/external/python/cpython2/Lib/test/
H A Dtest_support.py43 "import_fresh_module", "threading_cleanup", "reap_children",
114 def import_fresh_module(name, fresh=(), blocked=(), deprecated=False): function
/external/python/cpython3/Lib/test/support/
H A D__init__.py75 "import_module", "import_fresh_module", "CleanImport",
219 def import_fresh_module(name, fresh=(), blocked=(), deprecated=False): function

Completed in 1317 milliseconds