/external/python/cpython3/Lib/test/test_importlib/import_/ |
test___package__.py | 38 with self.mock_modules('pkg.__init__', 'pkg.fake') as importer: 99 mock_modules = util.mock_modules variable in class:Using__package__PEP302 108 mock_modules = util.mock_spec variable in class:Using__package__PEP451 132 with self.mock_modules('top_level') as mock: 140 with self.mock_modules('pkg.__init__') as mock: 148 with self.mock_modules('pkg.__init__', 'pkg.mod') as mock: 156 mock_modules = util.mock_modules variable in class:Setting__package__PEP302 159 mock_modules = util.mock_spe variable in class:Setting__package__PEP451 [all...] |
test_fromlist.py | 27 with util.mock_modules('pkg.__init__', 'pkg.module')as importer: 55 with util.mock_modules('module') as importer: 62 with util.mock_modules('module') as importer: 70 with util.mock_modules('pkg.__init__', 'pkg.module') as importer: 78 with util.mock_modules('pkg.__init__') as importer: 90 with util.mock_modules('pkg.__init__', 'pkg.mod', 98 with util.mock_modules('pkg.__init__', 'pkg.mod') as importer: 105 with util.mock_modules('pkg.__init__', 'pkg.module') as mock: 122 context = util.mock_modules('pkg.__init__', 'pkg.module1', 'pkg.module2') 134 with util.mock_modules('pkg.__init__') as importer [all...] |
test_meta_path.py | 72 with self.mock_modules(mod_name) as importer: 89 with self.mock_modules(pkg_name+'.__init__', mod_name) as importer: 105 mock_modules = util.mock_modules variable in class:CallSignaturePEP302 115 mock_modules = util.mock_spec variable in class:CallSignaturePEP451
|
test_caching.py | 54 mock = util.mock_modules(*names)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_importlib.py | 65 class mock_modules(object):
class in inherits:object 123 with mock_modules('top_level') as mock:
133 with mock_modules(pkg_long_name, name) as mock:
140 with mock_modules(*modules) as mock:
148 with mock_modules(*modules) as mock:
159 with mock_modules(pkg_long_name, name) as mock:
|
/external/python/cpython2/Lib/test/ |
test_importlib.py | 65 class mock_modules(object): class in inherits:object 123 with mock_modules('top_level') as mock: 133 with mock_modules(pkg_long_name, name) as mock: 140 with mock_modules(*modules) as mock: 148 with mock_modules(*modules) as mock: 159 with mock_modules(pkg_long_name, name) as mock:
|
/external/python/cpython3/Lib/test/test_importlib/ |
test_api.py | 21 with test_util.mock_modules('top_level') as mock: 31 with test_util.mock_modules(pkg_long_name, name) as mock: 43 with test_util.mock_modules(pkg_long_name, absolute_name) as mock: 51 with test_util.mock_modules(*modules) as mock: 64 with test_util.mock_modules(pkg_long_name, name) as mock: 89 with test_util.mock_modules(*modules, module_code=code) as mock: 213 mock = test_util.mock_modules('top_level',
|
util.py | 243 class mock_modules(_ImporterMock): class in inherits:_ImporterMock
|