diff options
Diffstat (limited to 'Lib/test/test_unary.py')
-rw-r--r-- | Lib/test/test_unary.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Lib/test/test_unary.py b/Lib/test/test_unary.py index 01c5f01..0c5dd94 100644 --- a/Lib/test/test_unary.py +++ b/Lib/test/test_unary.py @@ -49,4 +49,10 @@ class UnaryOpTestCase(unittest.TestCase): self.assertRaises(TypeError, eval, "~2j") self.assertRaises(TypeError, eval, "~2.0") -run_unittest(UnaryOpTestCase) + +def test_main(): + run_unittest(UnaryOpTestCase) + + +if __name__ == "__main__": + test_main() |