summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pep3131.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_pep3131.py')
-rw-r--r--Lib/test/test_pep3131.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/test/test_pep3131.py b/Lib/test/test_pep3131.py
index 2e6b90a..0679845 100644
--- a/Lib/test/test_pep3131.py
+++ b/Lib/test/test_pep3131.py
@@ -1,6 +1,5 @@
import unittest
import sys
-from test import support
class PEP3131Test(unittest.TestCase):
@@ -28,8 +27,5 @@ class PEP3131Test(unittest.TestCase):
else:
self.fail("expected exception didn't occur")
-def test_main():
- support.run_unittest(PEP3131Test)
-
-if __name__=="__main__":
- test_main()
+if __name__ == "__main__":
+ unittest.main()