Home
last modified time | relevance | path

Searched refs:import_module (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/external/autotest/venv/lucifer/
Dautotest_unittest.py48 as import_module, \
51 import_module.assert_called_once_with(expected)
67 as import_module, \
70 import_module.assert_called_once_with(expected)
79 as import_module, \
82 import_module.assert_called_once_with(name)
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/python/cpython3/Lib/test/test_importlib/import_/
Dtest___package__.py37 def import_module(self, globals_): member in 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',
/external/python/cpython3/Lib/test/test_importlib/
Dtest_api.py23 module = self.init.import_module('top_level')
33 module = self.init.import_module(name)
45 self.init.import_module(pkg_name)
46 module = self.init.import_module(relative_name, pkg_name)
53 self.init.import_module('a')
54 self.init.import_module('a.b')
55 module = self.init.import_module('..c', 'a.b')
66 self.init.import_module(pkg_name)
67 module = self.init.import_module(name, pkg_name)
74 self.init.import_module('.support')
[all …]
/external/python/cpython2/Lib/test/
Dtest_idle.py3 from test.test_support import import_module
6 import_module('threading') # imported by idlelib.PyShell, imports _thread
7 tk = import_module('Tkinter') # imports _tkinter
8 idletest = import_module('idlelib.idle_test')
Dtest_importlib.py125 module = importlib.import_module('top_level')
135 module = importlib.import_module(name)
142 module = importlib.import_module('.d', 'a.b.c')
150 module = importlib.import_module('..c', 'a.b')
161 module = importlib.import_module(name, pkg_name)
167 self.assertRaises(TypeError, importlib.import_module, '.support')
Dtest_gl.py6 from test.test_support import verbose, import_module
8 gl = import_module('gl')
9 GL = import_module('GL')
Dtest_bsddb3.py10 from test.test_support import requires, run_unittest, import_module
13 import_module('_bsddb')
15 import_module('bsddb', deprecated=True)
Dtest_cl.py4 from test.test_support import verbose, import_module
6 cl = import_module('cl')
Dtest_cd.py4 from test.test_support import verbose, import_module
6 cd = import_module('cd')
Dtest_al.py4 from test.test_support import verbose, import_module
5 al = import_module('al', deprecated=True)
Dtest_ioctl.py3 from test.test_support import run_unittest, import_module, get_attribute
5 fcntl = import_module('fcntl')
6 termios = import_module('termios')
Dtest_ctypes.py3 from test.test_support import run_unittest, import_module
5 import_module('_ctypes')
Dtest_dl.py5 from test.test_support import verbose, import_module
6 dl = import_module('dl', deprecated=True)
Dtest_sqlite.py1 from test.test_support import run_unittest, import_module
4 import_module('_sqlite3')
Dtest_sunaudiodev.py1 from test.test_support import findfile, TestFailed, import_module
3 sunaudiodev = import_module('sunaudiodev', deprecated=True)
Dtest_msilib.py4 from test_support import run_unittest, import_module
5 msilib = import_module('msilib')
/external/python/cpython3/Lib/test/
Dtest_idle.py2 from test.support import import_module
6 import_module('threading') # imported by PyShell, imports _thread
7 tk = import_module('tkinter') # imports _tkinter
10 idlelib = import_module('idlelib')
Dtest_zipimport.py130 mod = importlib.import_module(".".join(modules))
275 mod = importlib.import_module(TESTPACK)
287 mod = importlib.import_module(packdir3.replace(os.sep, '.')[:-1])
293 mod = importlib.import_module('.'.join((TESTPACK, TESTMOD)))
297 mod = importlib.import_module('.'.join((TESTPACK, TESTMOD + '2')))
303 mod = importlib.import_module(subpkg)
310 mod = importlib.import_module('.'.join((subpkg, TESTMOD)))
315 mod = importlib.import_module('.'.join((subpkg, TESTMOD + '2')))
320 mod = importlib.import_module('.'.join((subpkg, TESTMOD + '3')))
351 mod = importlib.import_module(TESTPACK)
[all …]
Dtest_ctypes.py2 from test.support import import_module
4 ctypes_test = import_module('ctypes.test')
Dtest_ioctl.py3 from test.support import import_module, get_attribute
5 fcntl = import_module('fcntl')
6 termios = import_module('termios')
Dtest_msilib.py3 from test.support import import_module
4 msilib = import_module('msilib')
/external/python/cpython3/Lib/test/test_asyncio/
D__init__.py2 from test.support import load_package_tests, import_module
5 import_module('threading')
7 import_module('concurrent.futures')
/external/python/cpython2/Doc/library/
Dimputil.rst156 q = import_module(head, qname, parent)
161 q = import_module(head, qname, parent)
172 m = import_module(head, mname, m)
190 submod = import_module(sub, subname, m)
194 def import_module(partname, fqname, parent):
217 return import_module(name, name, None)
221 return import_module(name[i+1:], name, parent)
/external/lisa/libs/utils/android/
D__init__.py31 from importlib import import_module
44 import_module(filename)

12345678910>>...12