Skip to content

Commit b299085

Browse files
Update Lib/test/test_socket.py
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent ef61722 commit b299085

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_socket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2239,7 +2239,7 @@ def __index__(self):
22392239
self.addCleanup(left.close)
22402240
self.addCleanup(right.close)
22412241
self.assertRaises(
2242-
(TypeError, OSError),
2242+
OSError,
22432243
left.sendmsg,
22442244
[b'x'],
22452245
seq,

0 commit comments

Comments
 (0)