Michael Seifert

Results 69 issues of Michael Seifert

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

# Bug report `unittest.mock.patch.dict` returns a synchronous function when applied to coroutines. Contrary to that, `unittest.mock.patch` returns coroutines when applied to coroutines (see #81177). My expectation is that `patch` and...

type-bug

#### What's the problem this feature will solve? Accessing `pytest.Module.obj` triggers a module import. If this happens during `pytest_collectstart` and the module that is about to be collected contains a...

type: enhancement
topic: collection
topic: fixtures

When a user wants to run all tests in a session-scoped event loop, the documentation suggests implementing a _pytest_collection_modifyitems_ hook. In _auto_ mode the hook causes duplicate _asyncio_ markers to...

enhancement

#737 has added support for pytest 8. After some time, pytest-asyncio should drop support for the obsolete pytest 7.

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

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

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

Based on #667 Resolves #668

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