[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".

This commit is contained in:
Senthil Kumaran 2016-09-07 00:52:20 -07:00
parent e848cd7605
commit 32d374215a
8 changed files with 21 additions and 21 deletions

View file

@ -205,7 +205,7 @@ class PkgutilPEP302Tests(unittest.TestCase):
del sys.meta_path[0]
def test_getdata_pep302(self):
# Use a dummy importer/loader
# Use a dummy finder/loader
self.assertEqual(pkgutil.get_data('foo', 'dummy'), "Hello, world!")
del sys.modules['foo']