Skip to content

Commit a1cd861

Browse files
MarkusBiggusseifertm
authored andcommitted
display full param name asyncio_default_fixture_loop_scope
1 parent dbf9991 commit a1cd861

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/reference/changelog.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changelog
66
===================
77
- Deprecated: Added warning when asyncio test requests async ``@pytest.fixture`` in strict mode. This will become an error in a future version of flake8-asyncio. `#979 <https://github.com/pytest-dev/pytest-asyncio/pull/979>`_
88
- Updates the error message about `pytest.mark.asyncio`'s `scope` keyword argument to say `loop_scope` instead. `#1004 <https://github.com/pytest-dev/pytest-asyncio/pull/1004>`_
9+
- Verbose log displays correct parameter name: asyncio_default_fixture_loop_scope `#990 <https://github.com/pytest-dev/pytest-asyncio/pull/990>`_
910

1011
0.24.0 (2024-08-22)
1112
===================

pytest_asyncio/plugin.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ def pytest_report_header(config: Config) -> list[str]:
216216
"""Add asyncio config to pytest header."""
217217
mode = _get_asyncio_mode(config)
218218
default_loop_scope = config.getini("asyncio_default_fixture_loop_scope")
219-
return [f"asyncio: mode={mode}, default_loop_scope={default_loop_scope}"]
219+
return [
220+
f"asyncio: mode={mode}, asyncio_default_fixture_loop_scope={default_loop_scope}"
221+
]
220222

221223

222224
def _preprocess_async_fixtures(

0 commit comments

Comments
 (0)