/third_party/python/Lib/test/test_importlib/ |
H A D | test_api.py | 19 """Test importlib.import_module.""" 25 module = self.init.import_module('top_level') 35 module = self.init.import_module(name) 47 self.init.import_module(pkg_name) 48 module = self.init.import_module(relative_name, pkg_name) 55 self.init.import_module('a') 56 self.init.import_module('a.b') 57 module = self.init.import_module('..c', 'a.b') 68 self.init.import_module(pkg_name) 69 module = self.init.import_module(nam [all...] |
H A D | test_resource.py | 9 from importlib import resources, import_module 92 submodule = import_module('ziptestdata.subdirectory') 103 submodule = import_module('ziptestdata.subdirectory') 150 self.data = import_module('ziptestdata') 224 resources.files(import_module('namespacedata01')) 235 contents = names(resources.files(import_module('namespacedata01')))
|
H A D | test_reader.py | 6 from importlib import import_module 108 namespacedata01 = import_module('namespacedata01') 120 namespacedata01 = import_module('namespacedata01')
|
H A D | test_read.py | 3 from importlib import import_module, resources 54 submodule = import_module('ziptestdata.subdirectory')
|
/third_party/python/Lib/test/test_importlib/import_/ |
H A D | test___package__.py | 37 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',
|
/third_party/python/Lib/test/ |
H A D | test_audit.py | 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 D | test_idle.py | 2 from test.support.import_helper import import_module 9 tk = import_module('tkinter') # Also imports _tkinter. 10 idlelib = import_module('idlelib')
|
H A D | test_zipimport.py | 136 mod = importlib.import_module(".".join(modules)) 319 mod = importlib.import_module(TESTPACK) 331 mod = importlib.import_module(packdir3.replace(os.sep, '.')[:-1]) 337 mod = importlib.import_module('.'.join((TESTPACK, TESTMOD))) 341 mod = importlib.import_module('.'.join((TESTPACK, TESTMOD + '2'))) 347 mod = importlib.import_module(subpkg) 354 mod = importlib.import_module('.'.join((subpkg, TESTMOD))) 359 mod = importlib.import_module('.'.join((subpkg, TESTMOD + '2'))) 364 mod = importlib.import_module('.'.join((subpkg, TESTMOD + '3'))) 395 mod = importlib.import_module(TESTPAC [all...] |
H A D | test_ctypes.py | 2 from test.support.import_helper import import_module 5 ctypes_test = import_module('ctypes.test')
|
H A D | test_tix.py | 12 _tkinter = import_helper.import_module('_tkinter') 18 tix = import_helper.import_module('tkinter.tix', deprecated=True)
|
H A D | test_ioctl.py | 4 from test.support.import_helper import import_module 6 fcntl = import_module('fcntl') 7 termios = import_module('termios')
|
H A D | test_stable_abi_ctypes.py | 9 from test.support.import_helper import import_module 13 ctypes_test = import_module('ctypes')
|
H A D | test_sundry.py | 14 import_helper.import_module('test.test_{}'.format(name)) 16 importlib.import_module(name)
|
H A D | test_picklebuffer.py | 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 D | test_xxlimited.py | 5 xxlimited = import_helper.import_module('xxlimited') 6 xxlimited_35 = import_helper.import_module('xxlimited_35')
|
H A D | test_readline.py | 14 from test.support.import_helper import import_module 19 readline = import_module('readline') 308 pty = import_module('pty')
|
H A D | test__opcode.py | 2 from test.support.import_helper import import_module 6 _opcode = import_module("_opcode")
|
H A D | test_tk.py | 10 import_helper.import_module('_tkinter')
|
/third_party/python/Lib/test/support/ |
H A D | import_helper.py | 67 def import_module(name, deprecated=False, *, required_on=()): function 78 return importlib.import_module(name) 160 return importlib.import_module(name) 175 importlib.import_module("foo") # new reference
|
/third_party/python/Lib/ |
H A D | pkgutil.py | 192 imp = importlib.import_module('imp') 450 pkg = importlib.import_module(pkg_name) 692 mod = importlib.import_module(gd['pkg']) 700 mod = importlib.import_module(modname) 705 mod = importlib.import_module(s)
|
H A D | modulefinder.py | 221 q = self.import_module(head, qname, parent) 228 q = self.import_module(head, qname, parent) 243 m = self.import_module(head, mname, m) 260 submod = self.import_module(sub, subname, m) 292 def import_module(self, partname, fqname, parent): member in ModuleFinder 293 self.msgin(3, "import_module", partname, fqname, parent) 299 self.msgout(3, "import_module ->", m) 302 self.msgout(3, "import_module -> None") 305 self.msgout(3, "import_module -> None") 311 self.msgout(3, "import_module [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | htest.py | 69 from importlib import import_module 399 mod = import_module('idlelib.' + test_spec['file'])
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | __init__.py | 9 import_helper.import_module('concurrent.futures')
|
/third_party/python/Lib/test/test_sqlite3/ |
H A D | __init__.py | 4 import_helper.import_module('_sqlite3')
|
/third_party/python/Lib/ctypes/test/ |
H A D | __init__.py | 8 ctypes = import_helper.import_module('ctypes')
|