asyncio.sleep() has an optional result argument which is just there for convenience if the intent is to replace an actual async call with sleep for testing purposes.
We remove this weird special case. We also rename and clean up some other methods for consistency.
asyncio.sleep()
has an optionalresult
argument which is just there for convenience if the intent is to replace an actual async call with sleep for testing purposes.We remove this weird special case. We also rename and clean up some other methods for consistency.