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 4178406 commit b398244Copy full SHA for b398244
pytest_asyncio/plugin.py
@@ -443,10 +443,9 @@ def _can_substitute(item: Function) -> bool:
443
raise NotImplementedError()
444
445
def setup(self) -> None:
446
- fixturenames = self.fixturenames
447
runner_fixture_id = f"_{self._loop_scope}_scoped_runner"
448
- if runner_fixture_id not in fixturenames:
449
- fixturenames.append(runner_fixture_id)
+ if runner_fixture_id not in self.fixturenames:
+ self.fixturenames.append(runner_fixture_id)
450
return super().setup()
451
452
def runtest(self) -> None:
0 commit comments