Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alt_pytest_asyncio-0.9.6.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alt_pytest_asyncio-0.9.6-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file alt_pytest_asyncio-0.9.6.tar.gz.

File metadata

  • Download URL: alt_pytest_asyncio-0.9.6.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for alt_pytest_asyncio-0.9.6.tar.gz
Algorithm Hash digest
SHA256 0408c9eae869c6b7f3714e85520b106d7e0689edb23beeb3ec6fbab9cd58eb4a
MD5 f6300d5503e3056574549b7c241eb0cb
BLAKE2b-256 f85f2165ab4b27c3c8e9f2037983e9630f9ede86754d8bac187af95ce27330ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for alt_pytest_asyncio-0.9.6.tar.gz:

Publisher: release.yml on delfick/alt-pytest-asyncio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file alt_pytest_asyncio-0.9.6-py3-none-any.whl.

File metadata

File hashes

Hashes for alt_pytest_asyncio-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e8b41d1b66c3cf88d90165eab35e8913ef7c1bcae29ac807d28e1be47171086d
MD5 4ab4dbc45243f4d7e480322e50088822
BLAKE2b-256 019461ca6c10f383dc7f041e1404e7905a58ec5a0e3c2dbd4b8aeb1a429c55ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for alt_pytest_asyncio-0.9.6-py3-none-any.whl:

Publisher: release.yml on delfick/alt-pytest-asyncio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.9.6 This release

2 files

0.9.5

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.0

1 file

0.5.4

1 file

0.5.3

1 file

0.5.2

1 file

0.5.1

1 file

0.5

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page