summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-05-30 05:02:17 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-05-30 05:02:17 (GMT)
commit3d1151d2c000e22a90038d8fb4d77cf22430bcab (patch)
tree4e526c44c5b5d576998473e6d761b858e24da3c6 /Lib
parent96c6af9b207c188c52ac53ce87bb7f2dea3f328b (diff)
downloadcpython-3d1151d2c000e22a90038d8fb4d77cf22430bcab.zip
cpython-3d1151d2c000e22a90038d8fb4d77cf22430bcab.tar.gz
cpython-3d1151d2c000e22a90038d8fb4d77cf22430bcab.tar.bz2
use assert method in another place
Diffstat (limited to 'Lib')
-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 24e0330..154a793 100644
--- a/Lib/test/test_importlib/extension/test_loader.py
+++ b/Lib/test/test_importlib/extension/test_loader.py
@@ -217,7 +217,7 @@ class MultiPhaseExtensionModuleTests(abc.LoaderTests):
name = self.name + '_null_slots'
module = self.load_module_by_name(name)
self.assertIsInstance(module, types.ModuleType)
- assert module.__name__ == name
+ self.assertEqual(module.__name__, name)
def test_bad_modules(self):
'''Test SystemError is raised for misbehaving extensions'''