Skip to content

Commit 85b7a61

Browse files
authored
fix: update pytest configuration tabs in documentation (#684)
* fix: update pytest configuration tabs in documentation * Add script tag for tabs functionality in pytest guide
1 parent 555b562 commit 85b7a61

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/pages/guides/pytest.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pytest supports configuration in `pytest.ini`, `setup.cfg`, or, since version 6,
7171
always require 6+ (or 9+) and use `pyproject.toml` or the pytest TOML ones. This
7272
is an example configuration:
7373

74-
{% tabs %} {% tab classic "Pytest 6+" %}
74+
{% tabs %} {% tab conf-classic Pytest 6+ %}
7575

7676
```toml
7777
[tool.pytest.ini_options]
@@ -85,7 +85,7 @@ testpaths = [
8585
]
8686
```
8787

88-
{% endtab %} {% tab modern "Pytest 9+" %}
88+
{% endtab %} {% tab conf-modern Pytest 9+ %}
8989

9090
```toml
9191
[tool.pytest]
@@ -392,3 +392,5 @@ redirects to the standard library [unittest.mock][].
392392
[pytest]: https://docs.pytest.org
393393
[pytest-mock]: https://pypi.org/project/pytest-mock/
394394
[unittest.mock]: https://docs.python.org/3/library/unittest.mock.html
395+
396+
<script src="{% link assets/js/tabs.js %}"></script>

0 commit comments

Comments
 (0)