Skip to content

Commit 7c7c36d

Browse files
committed
test(test_mark.py): add sad case that -k doesn't support keyword expressions
1 parent 3921d94 commit 7c7c36d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testing/test_mark.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,10 @@ def test_func(arg):
420420
"not or",
421421
"at column 5: expected not OR left parenthesis OR identifier; got or",
422422
),
423+
(
424+
"nonexistent_mark(non_supported='kwarg')",
425+
"Keyword expressions do not support call parameters",
426+
),
423427
],
424428
)
425429
def test_keyword_option_wrong_arguments(

0 commit comments

Comments
 (0)