py-expiring-dict
py-expiring-dict copied to clipboard
Shouldn't sleep in tests
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.
That's a cool library, thanks! I'll check out incorporating that