summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-14 01:18:43 (GMT)
committerBrett Cannon <brett@python.org>2013-06-14 01:18:43 (GMT)
commit58f2efb9682691e65a9cb5d2b35ac71f19428009 (patch)
tree25d32aaa1212f36bf892e732b4586d190e04f1e7 /Lib
parent0a140668faf18bf7f8d2ea15e57da5e2a0625292 (diff)
downloadcpython-58f2efb9682691e65a9cb5d2b35ac71f19428009.zip
cpython-58f2efb9682691e65a9cb5d2b35ac71f19428009.tar.gz
cpython-58f2efb9682691e65a9cb5d2b35ac71f19428009.tar.bz2
Move test_pep352 over to unittest.main()
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_pep352.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_pep352.py b/Lib/test/test_pep352.py
index 558cdb5..98debf0 100644
--- a/Lib/test/test_pep352.py
+++ b/Lib/test/test_pep352.py
@@ -180,8 +180,6 @@ class UsageTests(unittest.TestCase):
# Catching a string is bad.
self.catch_fails("spam")
-def test_main():
- run_unittest(ExceptionClassTests, UsageTests)
if __name__ == '__main__':
- test_main()
+ unittest.main()