(self)
| 138 | """TCP test case for socket.socket() timeout functions""" |
| 139 | |
| 140 | def setUp(self): |
| 141 | self.sock = self.enterContext( |
| 142 | socket.socket(socket.AF_INET, socket.SOCK_STREAM)) |
| 143 | self.addr_remote = resolve_address('www.python.org.', 80) |
| 144 | |
| 145 | def testConnectTimeout(self): |
| 146 | # Testing connect timeout is tricky: we need to have IP connectivity |
nothing calls this directly
no test coverage detected