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.
1 parent be42484 commit 0e7fc3bCopy full SHA for 0e7fc3b
tests/conftest.py
@@ -128,9 +128,9 @@ def create_app_file(code, filename):
128
# Monkeypatch runpytest_subprocess to include --strict always.
129
orig = testdir.runpytest_subprocess
130
131
- def runpytest_subprocess(self, *args, **kwargs):
+ def runpytest_subprocess(*args, **kwargs):
132
args = ('--strict',) + args
133
- return orig(self, *args, **kwargs)
+ return orig(*args, **kwargs)
134
testdir.runpytest_subprocess = runpytest_subprocess
135
136
return testdir
0 commit comments