← All tasks
pythonpytest-dev/pytest-asyncio #641Not a task: already works

Allow switching doc examples between auto and strict mode

envgap__pytest-dev__pytest-asyncio-641

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
1c888abcbd0b114e692c565ee6f5b9899d092942
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

pytest-dev/pytest-asyncio #641 · read the original issue
Users of pytest-asyncio either use auto mode or strict mode. They cannot mix modes within the same project. Some code examples in the documentation are presented for each mode, but the user is only interested for the examples in one of the modes.



I propose to add [sphinx-tabs](https://pypi.org/project/sphinx-tabs/) to the doc dependencies and use [group tabs](https://sphinx-tabs.readthedocs.io/en/latest/#group-tabs) to show only code examples for the selected pytest-asyncio mode.



Code examples that are only available for one mode should be provided for both, auto mode and strict mode as part of this issue.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]