Searched refs:import_module (Results 1 - 25 of 255) sorted by relevance

1234567891011

/external/python/cpython3/Lib/test/test_asyncio/
H A D__init__.py2 from test.support import load_package_tests, import_module namespace
5 import_module('threading')
7 import_module('concurrent.futures')
/external/python/cpython3/Lib/test/
H A Dtest_ctypes.py2 from test.support import import_module namespace
4 ctypes_test = import_module('ctypes.test')
H A Dtest_idle.py2 from test.support import import_module namespace
6 import_module('threading') # imported by PyShell, imports _thread
7 tk = import_module('tkinter') # imports _tkinter
10 idlelib = import_module('idlelib')
H A Dtest_tk.py3 support.import_module('_tkinter')
H A Dtest_ttk_textonly.py4 support.import_module('_tkinter')
H A Dtest_msilib.py3 from test.support import import_module namespace
4 msilib = import_module('msilib')
/external/python/cpython2/Lib/test/
H A Dtest_idle.py3 from test.test_support import import_module namespace
6 import_module('threading') # imported by idlelib.PyShell, imports _thread
7 tk = import_module('Tkinter') # imports _tkinter
8 idletest = import_module('idlelib.idle_test')
H A Dtest_al.py4 from test.test_support import verbose, import_module namespace
5 al = import_module('al', deprecated=True)
H A Dtest_cd.py4 from test.test_support import verbose, import_module namespace
6 cd = import_module('cd')
H A Dtest_cl.py4 from test.test_support import verbose, import_module namespace
6 cl = import_module('cl')
H A Dtest_ctypes.py3 from test.test_support import run_unittest, import_module namespace
5 import_module('_ctypes')
H A Dtest_dl.py5 from test.test_support import verbose, import_module namespace
6 dl = import_module('dl', deprecated=True)
H A Dtest_sqlite.py1 from test.test_support import run_unittest, import_module namespace
4 import_module('_sqlite3')
H A Dtest_sunaudiodev.py1 from test.test_support import findfile, TestFailed, import_module namespace
3 sunaudiodev = import_module('sunaudiodev', deprecated=True)
H A Dtest_crypt.py4 crypt = test_support.import_module('crypt')
H A Dtest_ascii_formatd.py6 from test.test_support import check_warnings, run_unittest, import_module namespace
9 import_module('_ctypes')
H A Dtest_bsddb185.py7 from test.test_support import run_unittest, findfile, import_module namespace
9 bsddb185 = import_module('bsddb185', deprecated=True)
H A Dtest_commands.py8 from test.test_support import run_unittest, reap_children, import_module, \
12 commands = import_module('commands', deprecated=True)
9 check_warnings namespace
H A Dtest_msilib.py4 from test_support import run_unittest, import_module namespace
5 msilib = import_module('msilib')
H A Dtest_multifile.py2 mimetools = test_support.import_module('mimetools', deprecated=True)
3 multifile = test_support.import_module('multifile', deprecated=True)
/external/autotest/venv/lucifer/
H A Dautotest_unittest.py47 with mock.patch('importlib.import_module', autospec=True) \
48 as import_module, \
51 import_module.assert_called_once_with(expected)
66 with mock.patch('importlib.import_module', autospec=True) \
67 as import_module, \
70 import_module.assert_called_once_with(expected)
78 with mock.patch('importlib.import_module', autospec=True) \
79 as import_module, \
82 import_module.assert_called_once_with(name)
H A Dautotest.py80 importlib.import_module('chromite')
89 importlib.import_module('chromite')
92 importlib.import_module('autotest_lib.frontend.setup_django_environment')
95 settings = importlib.import_module('autotest_lib.frontend.settings')
107 common = importlib.import_module('autotest_lib.scheduler.common')
198 return importlib.import_module(name)
/external/lisa/libs/utils/android/
H A D__init__.py31 from importlib import import_module
44 import_module(filename)
/external/python/cpython3/Lib/ctypes/test/
H A D__init__.py6 ctypes = support.import_module('ctypes')
/external/python/cpython3/Lib/test/test_importlib/import_/
H A Dtest___package__.py37 def import_module(self, globals_): member in class:Using__package__
48 module = self.import_module({'__package__': 'pkg.fake'})
55 module = self.import_module({'__name__': 'pkg.fake',
61 self.import_module({'__name__': 'pkg.fake', '__path__': []})
67 module = self.import_module({
73 module = self.import_module({'__spec__': FakeSpec('pkg.fake')})
79 self.import_module({'__package__': 'pkg.fake',

Completed in 366 milliseconds

1234567891011