Home
last modified time | relevance | path

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

12345

/third_party/python/Lib/test/test_importlib/
H A Dtest_api.py19 """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 Dtest_resource.py9 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 Dtest_reader.py6 from importlib import import_module
108 namespacedata01 = import_module('namespacedata01')
120 namespacedata01 = import_module('namespacedata01')
H A Dtest_read.py3 from importlib import import_module, resources
54 submodule = import_module('ziptestdata.subdirectory')
/third_party/python/Lib/test/test_importlib/import_/
H A 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',
/third_party/python/Lib/test/
H A Dtest_audit.py62 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 Dtest_idle.py2 from test.support.import_helper import import_module
9 tk = import_module('tkinter') # Also imports _tkinter.
10 idlelib = import_module('idlelib')
H A Dtest_zipimport.py136 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 Dtest_ctypes.py2 from test.support.import_helper import import_module
5 ctypes_test = import_module('ctypes.test')
H A Dtest_tix.py12 _tkinter = import_helper.import_module('_tkinter')
18 tix = import_helper.import_module('tkinter.tix', deprecated=True)
H A Dtest_ioctl.py4 from test.support.import_helper import import_module
6 fcntl = import_module('fcntl')
7 termios = import_module('termios')
H A Dtest_stable_abi_ctypes.py9 from test.support.import_helper import import_module
13 ctypes_test = import_module('ctypes')
H A Dtest_sundry.py14 import_helper.import_module('test.test_{}'.format(name))
16 importlib.import_module(name)
H A Dtest_picklebuffer.py78 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 Dtest_xxlimited.py5 xxlimited = import_helper.import_module('xxlimited')
6 xxlimited_35 = import_helper.import_module('xxlimited_35')
H A Dtest_readline.py14 from test.support.import_helper import import_module
19 readline = import_module('readline')
308 pty = import_module('pty')
H A Dtest__opcode.py2 from test.support.import_helper import import_module
6 _opcode = import_module("_opcode")
H A Dtest_tk.py10 import_helper.import_module('_tkinter')
/third_party/python/Lib/test/support/
H A Dimport_helper.py67 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 Dpkgutil.py192 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 Dmodulefinder.py221 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 Dhtest.py69 from importlib import import_module
399 mod = import_module('idlelib.' + test_spec['file'])
/third_party/python/Lib/test/test_asyncio/
H A D__init__.py9 import_helper.import_module('concurrent.futures')
/third_party/python/Lib/test/test_sqlite3/
H A D__init__.py4 import_helper.import_module('_sqlite3')
/third_party/python/Lib/ctypes/test/
H A D__init__.py8 ctypes = import_helper.import_module('ctypes')

Completed in 10 milliseconds

12345