diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/netlib/test_tcp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/netlib/test_tcp.py b/test/netlib/test_tcp.py index 7121bc98..590bcc01 100644 --- a/test/netlib/test_tcp.py +++ b/test/netlib/test_tcp.py @@ -45,7 +45,7 @@ class HangHandler(tcp.BaseHandler): self.connection.setblocking(0) ret = self.connection.recv(1) # Client connection is dead... - if ret == "": + if ret == "" or ret == b"": return except socket.error: pass |