4.14.1
Fixed 2
- Teardown of higher-scoped async fixtures failing on asyncio with RuntimeError when an async test raises an outcome exception such as pytest.skip(), pytest.xfail(), or pytest.fail()
- CapacityLimiter.total_tokens rejecting a value of 0 when the limiter was instantiated outside of an event loop, contradicting the documented behavior
- Fixed teardown of higher-scoped async fixtures failing on asyncio with
RuntimeError: Attempted to exit cancel scope in a different task than it was entered inwhen an async test raise an outcome exception (e.g.,pytest.skip(),pytest.xfail(), orpytest.fail()) (#1179; PR by @EmmanuelNiyonshuti) - Fixed
CapacityLimiter.total_tokensrejecting a value of0when the limiter was instantiated outside of an event loop, contradicting the documented behavior of allowing 0 total tokens (#1183; PR by @nyxst4ck)