Skip to content

Commit 0fe529a

Browse files
committed
docs: Point to *stable* documentation version, instead of *latest*.
1 parent c23aa27 commit 0fe529a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pytest-asyncio
1414
:alt: Matrix chat room: #pytest-asyncio
1515
:target: https://matrix.to/#/#pytest-asyncio:matrix.org
1616

17-
`pytest-asyncio <https://pytest-asyncio.readthedocs.io/en/latest/>`_ is a `pytest <https://docs.pytest.org/en/latest/contents.html>`_ plugin. It facilitates testing of code that uses the `asyncio <https://docs.python.org/3/library/asyncio.html>`_ library.
17+
`pytest-asyncio <https://pytest-asyncio.readthedocs.io/en/stable/>`_ is a `pytest <https://docs.pytest.org/en/latest/contents.html>`_ plugin. It facilitates testing of code that uses the `asyncio <https://docs.python.org/3/library/asyncio.html>`_ library.
1818

1919
Specifically, pytest-asyncio provides support for coroutines as test functions. This allows users to *await* code inside their tests. For example, the following code is executed as a test item by pytest:
2020

@@ -25,7 +25,7 @@ Specifically, pytest-asyncio provides support for coroutines as test functions.
2525
res = await library.do_something()
2626
assert b"expected result" == res
2727
28-
More details can be found in the `documentation <https://pytest-asyncio.readthedocs.io/en/latest/>`_.
28+
More details can be found in the `documentation <https://pytest-asyncio.readthedocs.io/en/stable/>`_.
2929

3030
Note that test classes subclassing the standard `unittest <https://docs.python.org/3/library/unittest.html>`__ library are not supported. Users
3131
are advised to use `unittest.IsolatedAsyncioTestCase <https://docs.python.org/3/library/unittest.html#unittest.IsolatedAsyncioTestCase>`__

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ optional-dependencies.testing = [
5454
"hypothesis>=5.7.1",
5555
]
5656
urls."Bug Tracker" = "https://github.com/pytest-dev/pytest-asyncio/issues"
57-
urls.Changelog = "https://pytest-asyncio.readthedocs.io/en/latest/reference/changelog.html"
57+
urls.Changelog = "https://pytest-asyncio.readthedocs.io/en/stable/reference/changelog.html"
5858
urls.Documentation = "https://pytest-asyncio.readthedocs.io"
5959
urls.Homepage = "https://github.com/pytest-dev/pytest-asyncio"
6060
urls."Source Code" = "https://github.com/pytest-dev/pytest-asyncio"

0 commit comments

Comments
 (0)