py-expiring-dict icon indicating copy to clipboard operation
py-expiring-dict copied to clipboard

Shouldn't sleep in tests

Open bradleymarques opened this issue 2 years ago • 1 comments

I see that you're calling sleep() in your tests. That's really not advisable. If you had many tests, it would be very slow, and it can lead to flakey tests.

I'd recommend freezegun.

bradleymarques avatar Oct 26 '23 13:10 bradleymarques

That's a cool library, thanks! I'll check out incorporating that

dparker2 avatar Dec 01 '23 23:12 dparker2