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

It appears that the pytest-asyncio 0.23 broke class-scoped fixtures defined outside of the class. Namely, I used to have the following setup: conftest.py: ```python @pytest_asyncio.fixture(scope="class") async def run_important_program_in_class() -> AsyncGenerator[ImportantProgram,...

Bumps [docutils](https://docutils.sourceforge.io) from 0.18.1 to 0.21.2. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docutils&package-manager=pip&previous-version=0.18.1&new-version=0.21.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies
python

Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0. Release notes Sourced from pytest's releases. 8.2.0 pytest 8.2.0 (2024-04-27) Deprecations #12069: A deprecation warning is now raised when implementations of one of the...

dependencies
python

This attempts to do what's described in https://github.com/pytest-dev/pytest-asyncio/issues/757#issuecomment-1985912818, to solve continued instances of issue #757: * ~~Add tests to catch any lingering `asyncio.get_event_loop()` `DeprecationWarning`s.~~ * ~~The existing tests are already...

Bumps [exceptiongroup](https://github.com/agronholm/exceptiongroup) from 1.2.0 to 1.2.1. Release notes Sourced from exceptiongroup's releases. 1.2.1 Updated the copying of __notes__ to match CPython behavior (PR by CF Bolz-Tereick) Corrected the type annotation...

dependencies
python

Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.4.0 to 1.5.0. Changelog Sourced from pluggy's changelog. pluggy 1.5.0 (2024-04-19) Features [#178](https://github.com/pytest-dev/pluggy/issues/178) <https://github.com/pytest-dev/pluggy/issues/178>_: Add support for deprecating specific hook parameters, or more generally, for issuing a...

dependencies
python

Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.2.6 to 7.3.7. Release notes Sourced from sphinx's releases. Sphinx 7.3.7 Changelog: https://www.sphinx-doc.org/en/master/changes.html Sphinx 7.3.6 Changelog: https://www.sphinx-doc.org/en/master/changes.html Sphinx 7.3.5 Changelog: https://www.sphinx-doc.org/en/master/changes.html Sphinx 7.3.4 Changelog: https://www.sphinx-doc.org/en/master/changes.html Sphinx 7.3.3...

dependencies
python

Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7. Release notes Sourced from idna's releases. v3.7 What's Changed Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time...

dependencies
python

Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.10.0 to 4.11.0. Release notes Sourced from typing-extensions's releases. 4.11.0 Release 4.11.0 (April 5, 2024) This feature release provides improvements to various recently added features, most importantly...

dependencies
python

This one I've noticed while testing IPython. The simplest reproducer is: `conftest.py`: ```python import inspect def pytest_collection_modifyitems(items): for item in items: if inspect.iscoroutinefunction(item.obj): item.add_marker("asyncio") ``` `test_foo.py`: ```python async def test_foo():...

bug