()
| 183 | |
| 184 | |
| 185 | def test_apcustom_narg_tuple_order() -> None: |
| 186 | parser = Cmd2ArgumentParser() |
| 187 | expected_err = "Invalid nargs range. The first value must be less than the second" |
| 188 | with pytest.raises(ValueError, match=expected_err): |
| 189 | parser.add_argument("invalid_tuple", nargs=(2, 1)) |
| 190 | |
| 191 | |
| 192 | def test_apcustom_narg_tuple_negative() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…