File: test_item_is_async_example.py

package info (click to toggle)
python-pytest-asyncio 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 616 kB
  • sloc: python: 2,421; makefile: 24; sh: 1
file content (7 lines) | stat: -rw-r--r-- 157 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
from pytest_asyncio import is_async_test


def pytest_collection_modifyitems(items):
    for item in items:
        if is_async_test(item):
            pass