Alternative pytest plugin to pytest-asyncio
Project description
This plugin allows you to have async pytest fixtures and tests.
This plugin only supports python 3.11 and above.
The code here is influenced by pytest-asyncio but with some differences:
Error tracebacks from are from your tests, rather than asyncio internals
There is only one loop for all of the tests
You can manage the lifecycle of the loop yourself outside of pytest by using this plugin with your own loop
No need to explicitly mark your tests as async. (pytest-asyncio requires you mark your async tests because it also supports other event loops like curio and trio)
Like pytest-asyncio it supports async tests, coroutine fixtures and async generator fixtures.
Full documentation can be found at https://alt-pytest-asyncio.readthedocs.io
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alt_pytest_asyncio-0.9.4.tar.gz.
File metadata
- Download URL: alt_pytest_asyncio-0.9.4.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
967de95aa5ce93c7698d30825a3bb18f6cfcc87cb698bfbb62c76317d499f214
|
|
| MD5 |
99ee2a8a77ed9d1c63bc00a9a174c366
|
|
| BLAKE2b-256 |
6a3d30ec1b41b78e409c0812a6fc3124bc1135c333b3b29c872af79d9a053fff
|
Provenance
The following attestation bundles were made for alt_pytest_asyncio-0.9.4.tar.gz:
Publisher:
release.yml on delfick/alt-pytest-asyncio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alt_pytest_asyncio-0.9.4.tar.gz -
Subject digest:
967de95aa5ce93c7698d30825a3bb18f6cfcc87cb698bfbb62c76317d499f214 - Sigstore transparency entry: 857406775
- Sigstore integration time:
-
Permalink:
delfick/alt-pytest-asyncio@775fafa2a7d41ef1d77b5039d45f3db3a46aa093 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/delfick
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@775fafa2a7d41ef1d77b5039d45f3db3a46aa093 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file alt_pytest_asyncio-0.9.4-py3-none-any.whl.
File metadata
- Download URL: alt_pytest_asyncio-0.9.4-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e1780eb8d8db397e535f7a6028b3529cd0bc551105009e779dfbf6e0d1938a0
|
|
| MD5 |
73422db594beb36847c16e7e07179fdb
|
|
| BLAKE2b-256 |
9e294b573c36b01417ffa2a2d8d5b6d233ba6ff819016f0698a1b0176cd30954
|
Provenance
The following attestation bundles were made for alt_pytest_asyncio-0.9.4-py3-none-any.whl:
Publisher:
release.yml on delfick/alt-pytest-asyncio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alt_pytest_asyncio-0.9.4-py3-none-any.whl -
Subject digest:
5e1780eb8d8db397e535f7a6028b3529cd0bc551105009e779dfbf6e0d1938a0 - Sigstore transparency entry: 857406802
- Sigstore integration time:
-
Permalink:
delfick/alt-pytest-asyncio@775fafa2a7d41ef1d77b5039d45f3db3a46aa093 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/delfick
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@775fafa2a7d41ef1d77b5039d45f3db3a46aa093 -
Trigger Event:
workflow_dispatch
-
Statement type: