diff options
Diffstat (limited to 'Lib/test/test_operator.py')
-rw-r--r-- | Lib/test/test_operator.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_operator.py b/Lib/test/test_operator.py index 6312d9a..439d340 100644 --- a/Lib/test/test_operator.py +++ b/Lib/test/test_operator.py @@ -210,4 +210,9 @@ class OperatorTestCase(unittest.TestCase): self.failUnless(operator.xor(0xb, 0xc) == 0x7) -test_support.run_unittest(OperatorTestCase) +def test_main(): + test_support.run_unittest(OperatorTestCase) + + +if __name__ == "__main__": + test_main() |