mirror of https://github.com/python/cpython
Merge 3.5
This commit is contained in:
commit
e16f427243
|
@ -217,7 +217,7 @@ class MultiPhaseExtensionModuleTests(abc.LoaderTests):
|
||||||
name = self.name + '_null_slots'
|
name = self.name + '_null_slots'
|
||||||
module = self.load_module_by_name(name)
|
module = self.load_module_by_name(name)
|
||||||
self.assertIsInstance(module, types.ModuleType)
|
self.assertIsInstance(module, types.ModuleType)
|
||||||
assert module.__name__ == name
|
self.assertEqual(module.__name__, name)
|
||||||
|
|
||||||
def test_bad_modules(self):
|
def test_bad_modules(self):
|
||||||
'''Test SystemError is raised for misbehaving extensions'''
|
'''Test SystemError is raised for misbehaving extensions'''
|
||||||
|
|
Loading…
Reference in New Issue