Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch
utcnow
in retry delay test (#18343)
* Remove sleep from retry delay test * Change to use freezegun * Approximate smallest timedelta without numpy * Use pre-defined smallest timedelta It turns out `datetime.datetime.resolution` is already defined as the smallest possible timedelta (one microsecond). Attempting to create a timedelta with microseconds in the interval (0.5, 1) simply results in microseconds being rounded up to 1.
- Loading branch information