diff options
Diffstat (limited to 'tests/test_argparse_custom.py')
| -rw-r--r-- | tests/test_argparse_custom.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/test_argparse_custom.py b/tests/test_argparse_custom.py index dcac8a4f..86521f61 100644 --- a/tests/test_argparse_custom.py +++ b/tests/test_argparse_custom.py @@ -132,7 +132,15 @@ def test_apcustom_nargs_range_validation(cust_app): assert not err -@pytest.mark.parametrize('nargs_tuple', [(), ('f', 5), (5, 'f'), (1, 2, 3),]) +@pytest.mark.parametrize( + 'nargs_tuple', + [ + (), + ('f', 5), + (5, 'f'), + (1, 2, 3), + ], +) def test_apcustom_narg_invalid_tuples(nargs_tuple): with pytest.raises(ValueError) as excinfo: parser = Cmd2ArgumentParser() |
