summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mailcap.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_mailcap.py')
-rw-r--r--Lib/test/test_mailcap.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_mailcap.py b/Lib/test/test_mailcap.py
index a4cd09c..22b2fcc 100644
--- a/Lib/test/test_mailcap.py
+++ b/Lib/test/test_mailcap.py
@@ -213,9 +213,5 @@ class FindmatchTest(unittest.TestCase):
self.assertEqual(mailcap.findmatch(*c[0], **c[1]), c[2])
-def test_main():
- test.support.run_unittest(HelperFunctionTest, GetcapsTest, FindmatchTest)
-
-
if __name__ == '__main__':
- test_main()
+ unittest.main()