We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
kwargs
1 parent 3d07791 commit 36b384aCopy full SHA for 36b384a
src/_pytest/mark/expression.py
@@ -5,9 +5,10 @@
5
expression: expr? EOF
6
expr: and_expr ('or' and_expr)*
7
and_expr: not_expr ('and' not_expr)*
8
-not_expr: 'not' not_expr | '(' expr ')' | ident ('(' name '=' value ( ', ' name '=' value )* ')')?
+not_expr: 'not' not_expr | '(' expr ')' | ident kwargs?
9
10
ident: (\w|:|\+|-|\.|\[|\]|\\|/)+
11
+kwargs: ('(' name '=' value ( ', ' name '=' value )* ')')
12
name: a valid ident, but not a reserved keyword
13
value: (unescaped) string literal | (-)?[0-9]+ | 'False' | 'True' | 'None'
14
0 commit comments