Skip to content

Commit 717acf7

Browse files
authored
Update Lib/test/test_socket.py
1 parent 7919305 commit 717acf7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Lib/test/test_socket.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3196,6 +3196,7 @@ def _testFromFd(self):
31963196
self.serv_conn.send(MSG)
31973197

31983198
def testFromFdError(self):
3199+
# Make sure that the fromfd() duplicated socket is closed on error.
31993200
fd = self.cli_conn.fileno()
32003201
fd_count_before = os_helper.fd_count()
32013202

0 commit comments

Comments
 (0)