test(test_mark.py): add sad case that `-k` doesn't support keyword expressions

This commit is contained in:
lovetheguitar 2024-06-21 15:11:56 +02:00
parent 3921d94316
commit 7c7c36d7e0
1 changed files with 4 additions and 0 deletions

View File

@ -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(