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

I'll start with an example to provide some context: ```py import asyncio import contextlib import itertools import pytest class Consumer: def __init__(self, queue: asyncio.Queue): self._queue = queue async def run(self):...

I'm not sure if this would be considered a bug or a feature :) I noticed that in some of my tests, my long running tasks (e.g. while loops) were...

feature

I'm working on python/pytest/asyncio since beginning of this year, and when updating pytest-asyncio (from 0.10.0 to 0.12.0) then some previous working tests started to fail. I have created following minimal...

Hello, how would you achieve something similar to this: https://asynctest.readthedocs.io/en/latest/asynctest.case.html#asynctest.ClockedTestCase with pytest asyncio? -l

When running pytest on aiojobs, I get a warning printed out in the output, but it fails to trigger anything in the test that caused it. We have warnings set...

Hi! In a PR for a project I'm working on, an async test method gets skipped with a `PytestUnhandledCoroutineWarning` even though `pytest-asyncio` is installed and `asyncio_mode` is `auto`. I poked...

help wanted
upstream

## Requirements `pip install aioredis==2.0.1` There is redis server running at `127.0.0.1`. ## Code `test_get2()` will raise `Event loop is closed` while `test_get()` will success. I guess event loop is...

Pytest-asyncio's documentation currently lives it's README. Since the README should only contain the most relevant information about a project the current setup requires a balance between adding more documentation and...

feature
good first issue

After we can build a static documentation site (#408) we can upload it to readthedocs. The upload should be performed automatically as part of each release. This involves setting up...

feature

We had a hard to debug issue when testing async sqlalchemy. When running the following test ```py from sqlalchemy.sql import text from sqlalchemy.ext.asyncio import create_async_engine from sqlalchemy.pool import NullPool engine...