[Python-checkins] distutils2: update the main function to match those found in the other test

tarek.ziade python-checkins at python.org
Sun May 30 00:05:49 CEST 2010


tarek.ziade pushed 18aa8268fd52 to distutils2:

http://hg.python.org/distutils2/rev/18aa8268fd52
changeset:   166:18aa8268fd52
parent:      164:21e3531cc3ed
parent:      165:20e8c8d265b7
user:        George Peristerakis <peristerakis at gmail.com>
date:        Sat May 22 20:44:51 2010 -0400
summary:     update the main function to match those found in the other test
files:       

diff --git a/src/distutils2/tests/test_converter.py b/src/distutils2/tests/test_converter.py
--- a/src/distutils2/tests/test_converter.py
+++ b/src/distutils2/tests/test_converter.py
@@ -36,4 +36,4 @@
     return unittest2.makeSuite(ConverterTestCase)
 
 if __name__ == '__main__':
-    run_unittest(test_suite())
+    unittest2.main(defaultTest="test_suite")

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list