]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Enable debug output at the start of the regression suite instead.
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 15 Oct 2010 13:47:00 +0000 (13:47 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 15 Oct 2010 13:47:00 +0000 (13:47 +0000)
Sorry for the ephemeral inconvenience.

Lib/test/regrtest.py
Lib/test/test_socket.py

index 9f18ea4bd50e62e576df0d93109477d758762850..a3df394eaef9253d49bc81b956e962b2fcc96040 100755 (executable)
@@ -450,6 +450,9 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
         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
index 1d7a97c94d9b9b87af759efa791b5eaafad50771..aadfdfaf206adb9cbc2844c3a7ede79e270ee71c 100644 (file)
@@ -1905,11 +1905,6 @@ def test_main():
         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)