Closed Zac-HD closed 2 months ago
Attention: Patch coverage is 25.00000%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 99.63%. Comparing base (
564907b
) to head (5cff076
).
I think the lost coverage is acceptable!
This registration was previously handled by pytest-trio (before Hypothesis supported entry-point plugins). Upstreaming it means that we'll get the behavior we want for unittest, for functions people call by hand, and so on. Fixes https://github.com/python-trio/trio/issues/2981. Manual testing with Hypothesis confirms this works, and our existing determinism-related unit tests continue to pass, so I haven't added more complicated tests which would require subprocesses and installing Hypothesis.
I'll open a PR to remove the relevant logic from pytest-trio once this has been released; double-registration is perfectly safe so it's better to overlap than leave a gap.
Plus some bonus updates to the awesome-trio-libraries page, since I noticed outdated information there.