New submission from Terry J. Reedy: When run at part of test suite on 3.5.0 (win7) [341/397/4] test_tools Usage: 2to3 [options] file|dir ...
regrtest.py: error: no such option: --slaveargs test test_tools failed -- Traceback (most recent call last): File "C:\Programs\Python 3.5\lib\optparse.py", line 1386, in parse_args stop = self._process_args(largs, rargs, values) File "C:\Programs\Python 3.5\lib\optparse.py", line 1426, in _process_args self._process_long_opt(rargs, values) File "C:\Programs\Python 3.5\lib\optparse.py", line 1479, in _process_long_opt opt = self._match_long_opt(opt) File "C:\Programs\Python 3.5\lib\optparse.py", line 1464, in _match_long_opt return _match_abbrev(opt, self._long_opt) File "C:\Programs\Python 3.5\lib\optparse.py", line 1669, in _match_abbrev raise BadOptionError(s) optparse.BadOptionError: no such option: --slaveargs During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Programs\Python 3.5\lib\test\test_tools\test_sundry.py", line 36, in test_sundry import_tool(name) File "C:\Programs\Python 3.5\lib\test\test_tools\__init__.py", line 22, in import_tool return importlib.import_module(toolname) File "C:\Programs\Python 3.5\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 662, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "C:\Programs\Python 3.5\Tools\scripts\2to3.py", line 5, in <module> sys.exit(main("lib2to3.fixes")) File "C:\Programs\Python 3.5\lib\lib2to3\main.py", line 179, in main options, args = parser.parse_args(args) File "C:\Programs\Python 3.5\lib\optparse.py", line 1388, in parse_args self.error(str(err)) File "C:\Programs\Python 3.5\lib\optparse.py", line 1568, in error self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg)) File "C:\Programs\Python 3.5\lib\optparse.py", line 1558, in exit sys.exit(status) SystemExit: 2 run by itselt (-m test test_tools) PS C:\Users\Terry> py -3 -m test test_tools [1/1] test_tools RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Can't open test_tools: [Errno 2] No such file or directory: 'test_tools' RefactoringTool: No files need to be modified. RefactoringTool: There was 1 error: RefactoringTool: Can't open test_tools: [Errno 2] No such file or directory: 'test_tools' Warning -- logging._handlerList was modified by test_tools test test_tools failed -- Traceback (most recent call last): File "C:\Programs\Python 3.5\lib\test\test_tools\test_sundry.py", line 36, in test_sundry import_tool(name) File "C:\Programs\Python 3.5\lib\test\test_tools\__init__.py", line 22, in import_tool return importlib.import_module(toolname) File "C:\Programs\Python 3.5\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 662, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "C:\Programs\Python 3.5\Tools\scripts\2to3.py", line 5, in <module> sys.exit(main("lib2to3.fixes")) SystemExit: 1 With 3.4.3, shorter message about multiple errors ---------- messages: 250603 nosy: terry.reedy priority: normal severity: normal status: open title: Test_tools not working on Windows. type: behavior versions: Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25094> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com