We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e6b0b9 commit 96f3084Copy full SHA for 96f3084
Lib/test/test_httpservers.py
@@ -395,7 +395,6 @@ def test_single_request(self):
395
# as this is the expected behavior of HTTP/0.9.
396
with contextlib.suppress(OSError):
397
self.sock.send(b'GET /bar.html\r\n')
398
- with contextlib.suppress(OSError):
399
res = self.sock.recv(1024)
400
# The server should not process our request.
401
self.assertEqual(res, b'')
0 commit comments