{"library":"pytest-trio","type":"library","category":null,"description":"pytest-trio is a pytest plugin designed to facilitate testing projects that leverage Trio, a friendly library for concurrency and async I/O in Python. It enables writing asynchronous tests without boilerplate, provides useful Trio-specific fixtures like `nursery` and `autojump_clock`, and supports async fixtures. The current stable version is 0.8.0, and it follows a release cadence tied to Trio and pytest compatibility updates.","language":"python","status":"active","version":"0.8.0","tags":["pytest","trio","async","testing","plugin","concurrency"],"install":[{"cmd":"pip install pytest-trio","imports":["import pytest\n\n@pytest.mark.trio\nasync def test_something():\n    ...","from pytest_trio import trio_fixture\n\n@trio_fixture\nasync def my_fixture():\n    ...","async def test_with_nursery(nursery):\n    await nursery.start(some_task)","async def test_with_clock(autojump_clock):\n    await trio.sleep(1)"]}],"homepage":null,"github":"https://github.com/python-trio/pytest-trio","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pytest-trio/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":3.3,"avg_import_s":0.44,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pytest-trio/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}