[New-bugs-announce] [issue16854] usage() is not defined in Lib/test/regrtest.py

Serhiy Storchaka report at bugs.python.org
Thu Jan 3 20:47:09 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue16854>
_______________________________________


More information about the New-bugs-announce mailing list