Skip to content

Commit cce1cb9

Browse files
authored
bpo-30871: Add test.pythoninfo (#3174) (#3175)
* 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 (cherry picked from commit b907abc) * bpo-30871: pythoninfo: add expat and _decimal (#3121) * bpo-30871: pythoninfo: add expat and _decimal * Remove _decimal.__version__ The string is hardcoded, not really interesting. (cherry picked from commit f6ebd83) * bpo-30871: Add "make pythoninfo" (#3120) (cherry picked from commit a3a01a2) * bpo-30871: pythoninfo: more sys, os, time data (#3130) * bpo-30871: pythoninfo: more sys, os, time data PythonInfo now converts types other than intger to string by default. * fix typo (cherry picked from commit ad7eaed) * bpo-31231: Fix pythoninfo in Travis config (#3134) bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with "make pythoninfo", since macOS uses ./python.exe. (cherry picked from commit 92b1f90) (cherry picked from commit 29d007b)
1 parent 0fbac70 commit cce1cb9

File tree

5 files changed

+440
-1
lines changed

5 files changed

+440
-1
lines changed

.github/appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ branches:
77
- buildbot-custom
88
build_script:
99
- cmd: PCbuild\build.bat -e
10+
- cmd: PCbuild\python.exe -m test.pythoninfo
1011
test_script:
1112
- cmd: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest -j2
1213

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ before_script:
6363
echo "$changes"
6464
exit 1
6565
fi
66+
make pythoninfo
6667
6768
script:
6869
# `-r -w` implicitly provided through `make buildbottest`.

0 commit comments

Comments
 (0)