summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/import_/test_caching.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/importlib/test/import_/test_caching.py')
-rw-r--r--Lib/importlib/test/import_/test_caching.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/importlib/test/import_/test_caching.py b/Lib/importlib/test/import_/test_caching.py
index 3a895dc..e37c69a 100644
--- a/Lib/importlib/test/import_/test_caching.py
+++ b/Lib/importlib/test/import_/test_caching.py
@@ -64,7 +64,8 @@ class UseCache(unittest.TestCase):
with util.import_state(meta_path=[importer]):
module = import_util.import_('pkg', fromlist=['module'])
self.assert_(hasattr(module, 'module'))
- self.assertEquals(id(module.module), id(sys.modules['pkg.module']))
+ self.assertEquals(id(module.module),
+ id(sys.modules['pkg.module']))
def test_main():