pytest-asyncio icon indicating copy to clipboard operation
pytest-asyncio copied to clipboard

Asyncio support for pytest

Results 87 pytest-asyncio issues
Sort by recently updated
recently updated
newest added

This might have the same underlying cause as #705 / #706, but I didn't see the specific error message I'm running into so I thought I should open a separate...

bug

This code: ``` import asyncio async def gen(): try: for x in range(100): try: yield x except BaseException as e: print('raised', repr(e)) raise finally: print('cleaning up!') async def test_earlystop(): async...

bug

Hello `pytest-asyncio` developers! We've been using your plugin for a while. So much so that we now have tens of thousands of tests and hundreds of thousands of fixture arguments...

enhancement

The project version specified in `docs/source/conf.py` has not been bumped since v0.20.1. The `release` field should be derived automatically from the version determined by setuptools_scm, so there's no need to...

good first issue

using pytest-asyncio asyncio 0.23.2 ```python import pytest import pytest_asyncio @pytest_asyncio.fixture() async def demo(): yield @pytest.mark.asyncio async def test_aiohttp_test_client_json(demo): pass def test_redirect(): import asyncio async def amain(): pass asyncio.run(amain()) import gc...

bug

The *PyPI Upload* step in the *Deploy* job of the CI pipeline currently uses an API token to upload packages to PyPI. The CI step emits the following warning: ```...

enhancement

Can we use pytest.mark.asyncio combined with pytest.mark.parameter to execute multiple test cases asynchronously, in order to shorten the entire execution process? If possible, could you provide a code example

enhancement
good first issue

When a project configures dependabot to continuously update project dependencies and a pytest-asyncio update is found, the dependatbot PR will show the commit history that leads to the current pytest-asyncio...

enhancement
help wanted
good first issue

Asynchronous fixtures are currently synchronized as part of the _pytest_pycollect_makeitem_ hook. This forces pytest-asyncio to provide a separate code path for fixtures. That involves different synchronization wrappers for coroutines and...

enhancement