(self)
| 7012 | # timeout (non-triggered) |
| 7013 | |
| 7014 | def _testWithTimeout(self): |
| 7015 | address = self.serv.getsockname() |
| 7016 | file = open(os_helper.TESTFN, 'rb') |
| 7017 | sock = socket.create_connection(address, |
| 7018 | timeout=support.LOOPBACK_TIMEOUT) |
| 7019 | with sock, file: |
| 7020 | meth = self.meth_from_sock(sock) |
| 7021 | sent = meth(file) |
| 7022 | self.assertEqual(sent, self.FILESIZE) |
| 7023 | |
| 7024 | def testWithTimeout(self): |
| 7025 | conn = self.accept_conn() |
nothing calls this directly
no test coverage detected