(self)
| 48 | self.check_found(found, importer) |
| 49 | |
| 50 | def test_empty_list(self): |
| 51 | # An empty list should not count as asking for sys.path. |
| 52 | module = 'module' |
| 53 | path = '<test path>' |
| 54 | importer = util.mock_spec(module) |
| 55 | with util.import_state(path_importer_cache={path: importer}, |
| 56 | path=[path]): |
| 57 | self.assertIsNone(self.find('module', [])) |
| 58 | |
| 59 | def test_path_hooks(self): |
| 60 | # Test that sys.path_hooks is used. |
nothing calls this directly
no test coverage detected