Home
last modified time | relevance | path

Searched refs:mock_modules (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/test/test_importlib/import_/
Dtest___package__.py38 with self.mock_modules('pkg.__init__', 'pkg.fake') as importer:
99 mock_modules = util.mock_modules variable in Using__package__PEP302
118 mock_modules = util.mock_spec variable in Using__package__PEP451
142 with self.mock_modules('top_level') as mock:
150 with self.mock_modules('pkg.__init__') as mock:
158 with self.mock_modules('pkg.__init__', 'pkg.mod') as mock:
166 mock_modules = util.mock_modules variable in Setting__package__PEP302
184 mock_modules = util.mock_spec variable in Setting__package__PEP451
Dtest_meta_path.py72 with self.mock_modules(mod_name) as importer:
89 with self.mock_modules(pkg_name+'.__init__', mod_name) as importer:
117 mock_modules = util.mock_modules variable in CallSignaturePEP302
127 mock_modules = util.mock_spec variable in CallSignaturePEP451
Dtest_caching.py55 mock = util.mock_modules(*names)
/third_party/python/Lib/test/test_importlib/
Dutil.py256 class mock_modules(_ImporterMock): class