This is likely caused by missing concurrency tracking support in your coverage tool config — especially for async
functions.
check https://coverage.readthedocs.io/en/latest/config.html#run-concurrency
In your pytest.ini
add this under the [coverage:run]
section:
[coverage:run]
branch = True
concurrency = multiprocessing,thread,greenlet