mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Enable debug output at the start of the regression suite instead.
Sorry for the ephemeral inconvenience.
This commit is contained in:
parent
f64317e05f
commit
fe9791365d
2 changed files with 3 additions and 5 deletions
|
@ -450,6 +450,9 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
|
||||||
print("== ", platform.platform(aliased=True),
|
print("== ", platform.platform(aliased=True),
|
||||||
"%s-endian" % sys.byteorder)
|
"%s-endian" % sys.byteorder)
|
||||||
print("== ", os.getcwd())
|
print("== ", os.getcwd())
|
||||||
|
import pprint, errno
|
||||||
|
print("== Errno map:")
|
||||||
|
pprint.pprint(errno.errorcode)
|
||||||
|
|
||||||
alltests = findtests(testdir, stdtests, nottests)
|
alltests = findtests(testdir, stdtests, nottests)
|
||||||
selected = tests or args or alltests
|
selected = tests or args or alltests
|
||||||
|
|
|
@ -1905,11 +1905,6 @@ def test_main():
|
||||||
tests.append(TIPCTest)
|
tests.append(TIPCTest)
|
||||||
tests.append(TIPCThreadableTest)
|
tests.append(TIPCThreadableTest)
|
||||||
|
|
||||||
if support.verbose:
|
|
||||||
import pprint
|
|
||||||
print("== Errno map:")
|
|
||||||
pprint.pprint(errno.errorcode)
|
|
||||||
|
|
||||||
thread_info = support.threading_setup()
|
thread_info = support.threading_setup()
|
||||||
support.run_unittest(*tests)
|
support.run_unittest(*tests)
|
||||||
support.threading_cleanup(*thread_info)
|
support.threading_cleanup(*thread_info)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue