New submission from Serhiy Storchaka: $ ./python -m test.regrtest -u spam Traceback (most recent call last): File "/home/serhiy/py/cpython/Lib/runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/home/serhiy/py/cpython/Lib/runpy.py", line 73, in _run_code exec(code, run_globals) File "/home/serhiy/py/cpython/Lib/test/regrtest.py", line 1599, in <module> main() File "/home/serhiy/py/cpython/Lib/test/regrtest.py", line 473, in main usage('Invalid -u/--use option: ' + a) NameError: global name 'usage' is not defined
This is 3.4 only issue. ---------- components: Tests messages: 178977 nosy: ezio.melotti, michael.foord, pitrou, serhiy.storchaka priority: normal severity: normal status: open title: usage() is not defined in Lib/test/regrtest.py type: behavior versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16854> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com