nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 397 forks source link

Does NOSE_EVAL_ATTR takes precedence over NOSE_ATTR? #1121

Open tudu123 opened 2 years ago

tudu123 commented 2 years ago

Hi, I tried to use -a and -A below at same time, looks like NOSE_EVAL_ATTR takes precedence over NOSE_ATTR, the -a ATTR has been ignored. Is it by design? is it possible to specify them at same time? Thanks.

-a=ATTR, --attr=ATTR Run only tests that have attributes specified by ATTR [NOSE_ATTR]

-A=EXPR, --eval-attr=EXPR Run only tests for whose attributes the Python expression EXPR evaluates to True [NOSE_EVAL_ATTR]