Skip to content

Commit c236550

Browse files
committed
docs: Fix broken link to the pytest.mark.asyncio reference.
1 parent 41c645b commit c236550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/fixtures/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The fixture scope defaults to ``function`` scope.
1919
.. include:: event_loop_example.py
2020
:code: python
2121

22-
Note that, when using the ``event_loop`` fixture, you need to interact with the event loop using methods like ``event_loop.run_until_complete``. If you want to *await* code inside your test function, you need to write a coroutine and use it as a test function. The `asyncio <#pytest-mark-asyncio>`__ marker
22+
Note that, when using the ``event_loop`` fixture, you need to interact with the event loop using methods like ``event_loop.run_until_complete``. If you want to *await* code inside your test function, you need to write a coroutine and use it as a test function. The :ref:`asyncio <reference/markers/asyncio>` marker
2323
is used to mark coroutines that should be treated as test functions.
2424

2525
If you need to change the type of the event loop, prefer setting a custom event loop policy over redefining the ``event_loop`` fixture.

0 commit comments

Comments
 (0)