(self)
| 383 | del sys.meta_path[0] |
| 384 | |
| 385 | def test_getdata_pep302(self): |
| 386 | # Use a dummy finder/loader |
| 387 | self.assertEqual(pkgutil.get_data('foo', 'dummy'), "Hello, world!") |
| 388 | del sys.modules['foo'] |
| 389 | |
| 390 | def test_alreadyloaded(self): |
| 391 | # Ensure that get_data works without reloading - the "loads" module |
nothing calls this directly
no test coverage detected