We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 308f308 commit 1bf5bf8Copy full SHA for 1bf5bf8
pytest_asyncio/plugin.py
@@ -187,6 +187,13 @@ def pytest_configure(config: Config) -> None:
187
config.issue_config_time_warning(LEGACY_MODE, stacklevel=2)
188
189
190
+@pytest.mark.tryfirst
191
+def pytest_report_header(config: Config) -> List[str]:
192
+ """Add asyncio config to pytest header."""
193
+ mode = _get_asyncio_mode(config)
194
+ return [f"asyncio: mode={mode}"]
195
+
196
197
@pytest.mark.tryfirst
198
def pytest_pycollect_makeitem(
199
collector: Union[pytest.Module, pytest.Class], name: str, obj: object
0 commit comments