Skip to content

Commit 9fc6db9

Browse files
committed
pytester: avoid confusing x self parameter
1 parent 9aa198b commit 9fc6db9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/_pytest/pytester.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,8 @@ def inline_run(
11161116
rec = []
11171117

11181118
class Collect:
1119-
def pytest_configure(x, config: Config) -> None:
1119+
@staticmethod
1120+
def pytest_configure(config: Config) -> None:
11201121
rec.append(self.make_hook_recorder(config.pluginmanager))
11211122

11221123
plugins.append(Collect())

0 commit comments

Comments
 (0)