diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-08-17 14:40:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-17 14:40:51 (GMT) |
commit | b907abc88589f7bea52c5afe172ececc6edcda70 (patch) | |
tree | fe55661ea304aa81915f0e3b6d72a3a4b1f25a2e /Lib/test/libregrtest | |
parent | 4a347ce426fe7381885703d9074d7a6b3aeb2f2b (diff) | |
download | cpython-b907abc88589f7bea52c5afe172ececc6edcda70.zip cpython-b907abc88589f7bea52c5afe172ececc6edcda70.tar.gz cpython-b907abc88589f7bea52c5afe172ececc6edcda70.tar.bz2 |
bpo-30871: Add test.pythoninfo (#3075)
* Add Lib/test/pythoninfo.py: script collecting various informations
about Python to help debugging test failures.
* regrtest: remove sys.hash_info and sys.flags from header.
* Travis CI, Appveyor: run pythoninfo before tests
Diffstat (limited to 'Lib/test/libregrtest')
-rw-r--r-- | Lib/test/libregrtest/main.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index 0b48beb..9871a28 100644 --- a/Lib/test/libregrtest/main.py +++ b/Lib/test/libregrtest/main.py @@ -424,8 +424,6 @@ class Regrtest: print("==", platform.python_implementation(), *sys.version.split()) print("==", platform.platform(aliased=True), "%s-endian" % sys.byteorder) - print("== hash algorithm:", sys.hash_info.algorithm, - "64bit" if sys.maxsize > 2**32 else "32bit") print("== cwd:", os.getcwd()) cpu_count = os.cpu_count() if cpu_count: @@ -433,7 +431,6 @@ class Regrtest: print("== encodings: locale=%s, FS=%s" % (locale.getpreferredencoding(False), sys.getfilesystemencoding())) - print("Testing with flags:", sys.flags) def run_tests(self): # For a partial run, we do not need to clutter the output. |