cpython/Lib/test/test_tools
Victor Stinner 752d4b7531
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.
2018-07-23 13:17:59 +02:00
..
__init__.py
__main__.py
test_fixcid.py
test_gprof2html.py
test_i18n.py bpo-33189: pygettext.py now accepts only literal strings (GH-6364) 2018-04-19 09:23:03 +03:00
test_md5sum.py
test_pdeps.py
test_pindent.py
test_reindent.py
test_sundry.py bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406) 2018-07-23 13:17:59 +02:00
test_unparse.py