[Python-checkins] r85523 - in python/branches/py3k/Lib/test: regrtest.py test_socket.py

antoine.pitrou python-checkins at python.org
Fri Oct 15 15:47:00 CEST 2010


Author: antoine.pitrou
Date: Fri Oct 15 15:47:00 2010
New Revision: 85523

Log:
Enable debug output at the start of the regression suite instead.
Sorry for the ephemeral inconvenience.



Modified:
   python/branches/py3k/Lib/test/regrtest.py
   python/branches/py3k/Lib/test/test_socket.py

Modified: python/branches/py3k/Lib/test/regrtest.py
==============================================================================
--- python/branches/py3k/Lib/test/regrtest.py	(original)
+++ python/branches/py3k/Lib/test/regrtest.py	Fri Oct 15 15:47:00 2010
@@ -450,6 +450,9 @@
         print("==  ", platform.platform(aliased=True),
                       "%s-endian" % sys.byteorder)
         print("==  ", os.getcwd())
+        import pprint, errno
+        print("== Errno map:")
+        pprint.pprint(errno.errorcode)
 
     alltests = findtests(testdir, stdtests, nottests)
     selected = tests or args or alltests

Modified: python/branches/py3k/Lib/test/test_socket.py
==============================================================================
--- python/branches/py3k/Lib/test/test_socket.py	(original)
+++ python/branches/py3k/Lib/test/test_socket.py	Fri Oct 15 15:47:00 2010
@@ -1905,11 +1905,6 @@
         tests.append(TIPCTest)
         tests.append(TIPCThreadableTest)
 
-    if support.verbose:
-        import pprint
-        print("== Errno map:")
-        pprint.pprint(errno.errorcode)
-
     thread_info = support.threading_setup()
     support.run_unittest(*tests)
     support.threading_cleanup(*thread_info)


More information about the Python-checkins mailing list