pytest-trio icon indicating copy to clipboard operation
pytest-trio copied to clipboard

Pytest plugin for trio

Results 35 pytest-trio issues
Sort by recently updated
recently updated
newest added

We currently have a chunk of code (below) to ensure that Hypothesis can make the Trio scheduler deterministic. https://github.com/python-trio/trio/issues/2981 proposes moving that into Trio itself; after which we can delete...

I'd like to set something in `pytest.ini` to call `run()` with a certain`strict_exception_groups` value, so that it affects `nursery` fixtures, etc.

Async fixtures can't be used in `@pytest.mark.usefixtures(...)` decorators. I'm sure this is a side-effect of the trio-fixture workaround approach [explained in the docs](https://pytest-trio.readthedocs.io/en/stable/reference.html#trio-fixtures), but it should be possible to examine...

I'm trying to package your module as rpm packag. So I'm using typical in such case build, install and test cycle used on building package from non-root account: - "setup.py...

```from pytest_trio.enable_trio_mode import *``` doesn't work properly if your conftest.py itself implements `pytest_collection_modifyitems` or `pytest_fixture_setup` hooks. It seems the hooks from pytest_trio get shadowed by your local function so the...

Hi, I'm unable to build docs with Sphinx 7.2.6. ``` $ sphinx-build python-pytest-trio-0.8.0/docs/source/ dummy Running Sphinx v7.2.6 making output directory... done building [mo]: targets for 0 po files that are...

bug

Mainly fixes #137, by making fixtures setup and teardown synchronous Related issues and discussions: - #57. - It looks like we had figured some pitfalls with the concurrent version but...

Fixtures are mostly encapsulated each in their own task, so the order in which they run doesn't matter much as long as we respect the dependency graph. But there's an...

Whenever the trio_timeout option is enabled, this plugin will hook into requests from pytest-timeout to set a timeout. It will then start a thread in the background that, after the...