docs/how-to-guides/test_item_is_async.rst
raw| 1 | ======================================= |
| 2 | How to tell if a test function is async |
| 3 | ======================================= |
| 4 | Use ``pytest_asyncio.is_async_item`` to determine if a test item is asynchronous and managed by pytest-asyncio. |
| 5 | |
| 6 | .. include:: test_item_is_async_example.py |
| 7 | :code: python |