[Python-checkins] cpython: Move test_pep352 over to unittest.main()
brett.cannon
python-checkins at python.org
Fri Jun 14 03:18:51 CEST 2013
http://hg.python.org/cpython/rev/af27c661d4fb
changeset: 84115:af27c661d4fb
user: Brett Cannon <brett at python.org>
date: Thu Jun 13 21:18:43 2013 -0400
summary:
Move test_pep352 over to unittest.main()
files:
Lib/test/test_pep352.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_pep352.py b/Lib/test/test_pep352.py
--- a/Lib/test/test_pep352.py
+++ b/Lib/test/test_pep352.py
@@ -180,8 +180,6 @@
# Catching a string is bad.
self.catch_fails("spam")
-def test_main():
- run_unittest(ExceptionClassTests, UsageTests)
if __name__ == '__main__':
- test_main()
+ unittest.main()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list