Replies: 3 comments
|
Can you please provide a reproducer? |
0 replies
|
Hola @pablogsal, I am facing the same issue: the async tests are skipped if we pass Steps to reproduce the issue:Use the following test file: import pytest
@pytest.fixture
def anyio_backend():
return 'asyncio'
@pytest.mark.anyio
async def test_async():
assert TrueInstall required dependencies: python -m pip install pytest anyio pytest-memrayThe test runs as expected if python -m pytest -vv -x test_async.pyOutput: However, the test is skipped if we pass python -m pytest --memray -vv -x test_async.pyOutput: |
0 replies
|
This definitely seems like a bug, now that we've got a reproduction example. I've opened issue #119 for it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a lot of testcases that run fine. We are trying to add
memrayto our CI/CD but when we tried installing it and running the tests with--memrayit started skipping all the testcases!I tried running these with
-rsxflag as well, this is the reason it throws for skipping the tests:Reminder that these test cases otherwise run fine since forever. Is there any other prerequisite for integrating
pytest-memray?Thanks.
All reactions