STINNER Victor <vstin...@redhat.com> added the comment:
Oh. I identified the root issue: Tools/scripts/2to3 is installed as Tools/scripts/2to3.py, a ".py" suffix is added. This script is tested on all non-Windows and skipped on Windows when run from source code, but test_sundry() imports 2to3.py which causes the test to fail, since the script expects an argument on the command line and fails with SystemExit which is not catched by test_sundry(). I wrote PR 8406 to skip 2to3.py. My PR also removes imported modules to remove side effects of the test. -- Python 2.7 is not affected: test_tools is skipped on installed Python: vstinner@WIN C:\>py -2.7 -m test test_tools ... test_tools skipped -- test irrelevant for an installed Python ... Tests result: SUCCESS ---------- versions: +Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue25094> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com