Closed
Description
From the version 4.1.0 we are getting errors in our test cases that the transfer markers are no longer part of the pytest_asyncio.
The only solution provided for this is to revert back to the previous version:
https://stackoverflow.com/questions/54064971/importerror-cannot-import-name-transfer-markers-when-testing-with-pytest
We are experiencing this issue in the bitbucket pipelines running a Linux system. Also, locally in the WSL environment. Python version is 3.6
import pytest
@pytest.mark.asyncio()
async def test_asyncio():
x = 1
assert x == 1
The error that we get is the following:
from _pytest.python import transfer_markers
ImportError: cannot import name 'transfer_markers'
Metadata
Metadata
Assignees
Labels
No labels