nose-devs/nose — Issue #159: Options '-s', '-P', '--noexe' not reconized as boolean with `python setup.py nosetests`
Author: jpellerin
Created: 2011-12-14 16:02:13+00:00
State: open

>>> python setup.py nosetests -s
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: option -s requires argument

The conversion method `command.get_user_option()` detects a boolean
option if `opt.action == 'store_true'`. But the
option '-s' / '--nocapture' is defined in `nose/plugins/capture.py` with
the action `store_false`.

Google Code Info:
Issue #: 128
Author: alain.po...@gmail.com
Created On: 2007-10-25T14:55:28.000Z
Closed On: 2007-10-30T19:29:04.000Z