(self)
| 6909 | # timeout (non-triggered) |
| 6910 | |
| 6911 | def _testWithTimeout(self): |
| 6912 | address = self.serv.getsockname() |
| 6913 | file = open(os_helper.TESTFN, 'rb') |
| 6914 | sock = socket.create_connection(address, |
| 6915 | timeout=support.LOOPBACK_TIMEOUT) |
| 6916 | with sock, file: |
| 6917 | meth = self.meth_from_sock(sock) |
| 6918 | sent = meth(file) |
| 6919 | self.assertEqual(sent, self.FILESIZE) |
| 6920 | |
| 6921 | def testWithTimeout(self): |
| 6922 | conn = self.accept_conn() |
nothing calls this directly
no test coverage detected