-
Notifications
You must be signed in to change notification settings - Fork 173
Closed as not planned
Labels
needsinfoRequires additional information from the issue authorRequires additional information from the issue author
Milestone
Description
pytest-cov crashes when pytest-asyncio is installed and used (i.e. some tests are `async).
The crash is as follows:
DataError: Can't combine statement coverage data with branch data
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
config.hook.pytest_runtestloop(session=session)
From the reference, it seems the culprit is pytest-asyncio using an old style event loop ?
Metadata
Metadata
Assignees
Labels
needsinfoRequires additional information from the issue authorRequires additional information from the issue author