Enable debug output at the start of the regression suite instead.

Sorry for the ephemeral inconvenience.
This commit is contained in:
Antoine Pitrou 2010-10-15 13:47:00 +00:00
parent f64317e05f
commit fe9791365d
2 changed files with 3 additions and 5 deletions

View File

@ -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

View 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)