Issue #26896: Disambiguate uses of "importer" with "finder".

Thanks to Oren Milman for the patch.
This commit is contained in:
Brett Cannon 2016-07-08 11:00:00 -07:00
parent 15552c39e0
commit fdcdd9ed80
9 changed files with 32 additions and 32 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']