From 3d1151d2c000e22a90038d8fb4d77cf22430bcab Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 30 May 2015 00:02:17 -0500 Subject: [PATCH] use assert method in another place --- Lib/test/test_importlib/extension/test_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_importlib/extension/test_loader.py b/Lib/test/test_importlib/extension/test_loader.py index 24e03303e24..154a793ae86 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'''