Skip to content

Commit 96f3084

Browse files
committed
better suppression
1 parent 3e6b0b9 commit 96f3084

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/test/test_httpservers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ def test_single_request(self):
395395
# as this is the expected behavior of HTTP/0.9.
396396
with contextlib.suppress(OSError):
397397
self.sock.send(b'GET /bar.html\r\n')
398-
with contextlib.suppress(OSError):
399398
res = self.sock.recv(1024)
400399
# The server should not process our request.
401400
self.assertEqual(res, b'')

0 commit comments

Comments
 (0)