You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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.
The text was updated successfully, but these errors were encountered:
(I'm talking about the standard library's socketserver.py module.)
In
BaseServer.handle_request()
, it usestime()
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.
The text was updated successfully, but these errors were encountered: