cpython/Lib/test/test_tools
Miss Islington (bot) ba1810e1ec bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406) (GH-8407)
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.
(cherry picked from commit 752d4b7531)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
2018-07-23 14:39:11 +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-18 23:49:15 -07:00
test_md5sum.py
test_pdeps.py
test_pindent.py
test_reindent.py bpo-30109: Fix reindent.py (GH-1207) 2017-04-19 22:59:20 -07:00
test_sundry.py bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406) (GH-8407) 2018-07-23 14:39:11 +02:00
test_unparse.py bpo-31174: Improve the code of test_tools.test_unparse. (#4146) 2017-10-27 15:35:11 +03:00