diff options
Diffstat (limited to 'Lib/test/test_class.py')
-rw-r--r-- | Lib/test/test_class.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py index ecc01f2..507c723 100644 --- a/Lib/test/test_class.py +++ b/Lib/test/test_class.py @@ -595,5 +595,6 @@ class ClassTests(unittest.TestCase): with self.assertRaises(TypeError): type.__setattr__(A, b'x', None) + if __name__ == '__main__': unittest.main() |