summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_binhex.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_binhex.py')
-rwxr-xr-xLib/test/test_binhex.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py
index c774200..2580fb2 100755
--- a/Lib/test/test_binhex.py
+++ b/Lib/test/test_binhex.py
@@ -42,4 +42,9 @@ class BinHexTestCase(unittest.TestCase):
self.assertEqual(self.DATA, finish)
-test_support.run_unittest(BinHexTestCase)
+def test_main():
+ test_support.run_unittest(BinHexTestCase)
+
+
+if __name__ == "__main__":
+ test_main()