Skip to content

Commit 9aa198b

Browse files
committed
mark/expression: fix self -> cls
1 parent b256fc4 commit 9aa198b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/mark/expression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def __init__(self, code: types.CodeType) -> None:
305305
self.code = code
306306

307307
@classmethod
308-
def compile(self, input: str) -> Expression:
308+
def compile(cls, input: str) -> Expression:
309309
"""Compile a match expression.
310310
311311
:param input: The input expression - one line.

0 commit comments

Comments
 (0)