summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-05-29 23:44:50 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-05-29 23:44:50 (GMT)
commit3979323ca3c6e51a194ece6d9d21b2f26a392f62 (patch)
treef2c2ee1dbb6548d0e10fb9d53366e7510e7113da
parent0c70ca9aacde6fc58afc211493fa178a27cf8866 (diff)
parent0a3297d7d4e042d8fbb884a029f0ef7ad8b00e46 (diff)
downloadcpython-3979323ca3c6e51a194ece6d9d21b2f26a392f62.zip
cpython-3979323ca3c6e51a194ece6d9d21b2f26a392f62.tar.gz
cpython-3979323ca3c6e51a194ece6d9d21b2f26a392f62.tar.bz2
merge 3.5
-rw-r--r--Lib/test/test_importlib/extension/test_loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/extension/test_loader.py b/Lib/test/test_importlib/extension/test_loader.py
index d82c805..24e0330 100644
--- a/Lib/test/test_importlib/extension/test_loader.py
+++ b/Lib/test/test_importlib/extension/test_loader.py
@@ -183,7 +183,7 @@ class MultiPhaseExtensionModuleTests(abc.LoaderTests):
self.assertIsInstance(module, types.ModuleType)
self.assertEqual(module.__name__, 'x')
self.assertEqual(module.str_const, 'something different')
- assert 'x' not in sys.modules
+ self.assertNotIn('x', sys.modules)
def test_load_twice(self):
'''Test that 2 loads result in 2 module objects'''