diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_module.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_module.py b/Lib/test/test_module.py index 5bc33d4..80d440d 100644 --- a/Lib/test/test_module.py +++ b/Lib/test/test_module.py @@ -11,6 +11,7 @@ class ModuleTests(unittest.TestCase): # and __doc__ is None foo = ModuleType.__new__(ModuleType) self.assertTrue(foo.__dict__ is None) + self.assertRaises(SystemError, dir, foo) try: s = foo.__name__ self.fail("__name__ = %s" % repr(s)) |