freezegun
freezegun copied to clipboard
Consider adding socketserver to the default ignore list
(I'm talking about the standard library's socketserver.py module.)
In BaseServer.handle_request()
, it uses time()
to check for timeouts. If you are running a simple test/mock server as part of your tests, a call to handle incoming requests won't time out when freezegun has frozen time.
I'm not sure if there would be other bad side effects to adding this module. But there's at least the above bug if it's not ignored.