summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sha.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_sha.py')
-rw-r--r--Lib/test/test_sha.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_sha.py b/Lib/test/test_sha.py
index bc76809..cad7780 100644
--- a/Lib/test/test_sha.py
+++ b/Lib/test/test_sha.py
@@ -27,4 +27,9 @@ class SHATestCase(unittest.TestCase):
"34aa973cd4c4daa4f61eeb2bdbad27316534016f")
-test_support.run_unittest(SHATestCase)
+def test_main():
+ test_support.run_unittest(SHATestCase)
+
+
+if __name__ == "__main__":
+ test_main()