mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
This commit is contained in:
parent
e848cd7605
commit
32d374215a
8 changed files with 21 additions and 21 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue