Open snorfalorpagus opened 9 months ago
⚠️ No release notes detected. Please make sure to use reno to add a changelog entry.
@jd Let me know if there is anything else required before this can be merged. :)
It would be nice to see this get in soon.
We monkeypatch the sleep
property on the retry
decorator in our tests, however that approach broke in 8.4.2.
This PR makes it easier to mock sleeping when retrying asynchronous functions, using the same approach as was done for synchronous functions in #236.
Example usage:
Closes #360.