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 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-19 09:23:03 +03: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) 2018-07-23 13:17:59 +02:00
test_unparse.py bpo-31174: Improve the code of test_tools.test_unparse. (#4146) 2017-10-27 15:35:11 +03:00