diff options
Diffstat (limited to 'tests/test_channel.py')
-rw-r--r-- | tests/test_channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_channel.py b/tests/test_channel.py index 1b119b9..a8102fc 100644 --- a/tests/test_channel.py +++ b/tests/test_channel.py @@ -195,7 +195,7 @@ class TestHTTPChannel(unittest.TestCase): inst.will_close = False def recv(b): - raise socket.error + raise OSError inst.recv = recv inst.last_activity = 0 |