test(test_mark.py): add sad case that `-k` doesn't support keyword expressions
This commit is contained in:
parent
3921d94316
commit
7c7c36d7e0
|
@ -420,6 +420,10 @@ def test_parametrize_with_module(pytester: Pytester) -> None:
|
|||
"not or",
|
||||
"at column 5: expected not OR left parenthesis OR identifier; got or",
|
||||
),
|
||||
(
|
||||
"nonexistent_mark(non_supported='kwarg')",
|
||||
"Keyword expressions do not support call parameters",
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_keyword_option_wrong_arguments(
|
||||
|
|
Loading…
Reference in New Issue