summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-07-23 11:17:59 (GMT)
committerGitHub <noreply@github.com>2018-07-23 11:17:59 (GMT)
commit752d4b7531093c55d6f0a5846748f981d79b29d3 (patch)
treea805141a6c6782c874656773c45941bcdab371ca /Lib/site.py
parent8b96eed0dd13d9dec02421cacfa021d457ba2d80 (diff)
downloadcpython-752d4b7531093c55d6f0a5846748f981d79b29d3.zip
cpython-752d4b7531093c55d6f0a5846748f981d79b29d3.tar.gz
cpython-752d4b7531093c55d6f0a5846748f981d79b29d3.tar.bz2
bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406)
When Python is installed on Windows, python -m test test_tools failed because it tried to run Tools\scripts\2to3.py which requires an argument. Skip this script. On other platforms or on Windows but when run from source code (not installed), the script is called "2to3" instead of "2to.py" and so was already skipped. Modify also the unit test to unload all modules which have been loaded by the test.
Diffstat (limited to 'Lib/site.py')
0 files changed, 0 insertions, 0 deletions