Path to this page:
./
devel/py-test-asyncio,
Pytest support for asyncio
Branch: CURRENT,
Version: 0.25.3,
Package name: py312-test-asyncio-0.25.3,
Maintainer: pkgsrc-userspytest-asyncio is a library, written in Python, for testing asyncio code with
pytest.
asyncio code is usually written in the form of coroutines, which makes it
slightly more difficult to test using normal testing tools. pytest-asyncio
provides useful fixtures and markers to make testing easier.
Required to run:[
devel/py-setuptools] [
devel/py-test] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 52.968 KB
Version history: (Expand)
- (2025-01-29) Updated to version: py312-test-asyncio-0.25.3
- (2025-01-08) Updated to version: py312-test-asyncio-0.25.2
- (2025-01-02) Updated to version: py312-test-asyncio-0.25.1
- (2024-12-16) Updated to version: py312-test-asyncio-0.25.0
- (2024-08-23) Updated to version: py312-test-asyncio-0.24.0
- (2024-07-19) Updated to version: py311-test-asyncio-0.23.8
CVS history: (Expand)
2025-01-29 09:09:00 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-asyncio: updated to 0.25.3
0.25.3 (2025-01-28)
- Avoid errors in cleanup of async generators when event loop is already closed
|
2025-01-08 11:03:44 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-asyncio: updated to 0.25.2
0.25.2 (2025-01-08)
- Call ``loop.shutdown_asyncgens()`` before closing the event loop to ensure \
async generators are closed in the same manner as ``asyncio.run`` does
|
2025-01-02 15:17:14 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-asyncio: updated to 0.25.1
0.25.1
Fixes an issue that caused a broken event loop when a function-scoped test was \
executed in between two tests with wider loop scope
Improves test collection speed in auto mode
Corrects the warning that is emitted upon redefining the event_loop fixture
|
2024-12-16 06:49:13 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-asyncio: updated to 0.25.0
0.25.0 (2024-12-13)
Deprecated: Added warning when asyncio test requests async @pytest.fixture in \
strict mode. This will become an error in a future version of flake8-asyncio.
Updates the error message about pytest.mark.asyncio's scope keyword argument to \
say loop_scope instead.
Verbose log displays correct parameter name: asyncio_default_fixture_loop_scope
Propagates contextvars set in async fixtures to other fixtures and tests on \
Python 3.11 and above.
|
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-08-23 15:26:10 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-asyncio: updated to 0.24.0
0.24.0 (2024-08-22)
- BREAKING: Updated minimum supported pytest version to v8.2.0
- Adds an optional `loop_scope` keyword argument to `pytest.mark.asyncio`. This \
argument controls which event loop is used to run the marked async test.
- Deprecates the optional `scope` keyword argument to `pytest.mark.asyncio` for \
API consistency with ``pytest_asyncio.fixture``. Users are encouraged to use the \
`loop_scope` keyword argument, which does exactly the same.
- Raises an error when passing `scope` or `loop_scope` as a positional argument \
to ``@pytest.mark.asyncio``.
- Fixes a bug that caused module-scoped async fixtures to fail when reused in \
other modules
|
2024-07-19 09:06:31 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-asyncio: updated to 0.23.8
0.23.8 (2024-07-17)
- Fixes a bug that caused duplicate markers in async tests
- Declare support for Python 3.13
|
2024-05-20 09:43:16 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-asyncio: updated to 0.23.7
0.23.7 (2024-05-19)
- Silence deprecation warnings about unclosed event loops that occurred with \
certain CPython patch releases
|