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 Remove more unused imports in tests. 2016-04-25 00:05:30 +03:00
__main__.py
test_fixcid.py Issue #27952: Capture stderr in run_script() 2016-09-13 07:55:54 +03:00
test_gprof2html.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
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 Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
test_pdeps.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
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