Something like: @cmdutils.argument('foo', choices=['one', 'two']) def func(foo): # ... didn't actually validate the foo argument, since the inferred type of the argument is None, and that skipped all conversion (and thus validation). Fixes #1871 See #1885 |
||
---|---|---|
.. | ||
end2end | ||
helpers | ||
manual | ||
unit | ||
conftest.py | ||
test_conftest.py |