summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_time.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_time.py')
-rw-r--r--Lib/test/test_time.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py
index 160ce4d..b2a3a28 100644
--- a/Lib/test/test_time.py
+++ b/Lib/test/test_time.py
@@ -48,4 +48,9 @@ class TimeTestCase(unittest.TestCase):
999999))
-test_support.run_unittest(TimeTestCase)
+def test_main():
+ test_support.run_unittest(TimeTestCase)
+
+
+if __name__ == "__main__":
+ test_main()