diff options
| author | Brett Cannon <brett@python.org> | 2016-07-08 11:00:00 -0700 |
|---|---|---|
| committer | Brett Cannon <brett@python.org> | 2016-07-08 11:00:00 -0700 |
| commit | fdcdd9ed80d2b4bf7e7dac04ed2d22e9cb747ff6 (patch) | |
| tree | f9a0574f99b8d6541266b0c61230a9052ee6d8ad /Lib/test/test_importlib/util.py | |
| parent | 15552c39e09426988d9ad0901a2aafc624e46e33 (diff) | |
| download | cpython-git-fdcdd9ed80d2b4bf7e7dac04ed2d22e9cb747ff6.tar.gz | |
Issue #26896: Disambiguate uses of "importer" with "finder".
Thanks to Oren Milman for the patch.
Diffstat (limited to 'Lib/test/test_importlib/util.py')
| -rw-r--r-- | Lib/test/test_importlib/util.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/util.py b/Lib/test/test_importlib/util.py index ce20377f8c..f72dc45678 100644 --- a/Lib/test/test_importlib/util.py +++ b/Lib/test/test_importlib/util.py @@ -266,7 +266,6 @@ class mock_spec(_ImporterMock): module = self.modules[fullname] except KeyError: return None - is_package = hasattr(module, '__path__') spec = util.spec_from_file_location( fullname, module.__file__, loader=self, submodule_search_locations=getattr(module, '__path__', None)) |
