(self)
| 5470 | msg = conn.recv(len(MSG)) |
| 5471 | |
| 5472 | def _testLargeTimeout(self): |
| 5473 | # test sendall() with large timeout |
| 5474 | if _testcapi is not None: |
| 5475 | large_timeout = _testcapi.INT_MAX + 1 |
| 5476 | else: |
| 5477 | large_timeout = 2147483648 |
| 5478 | self.cli.connect((HOST, self.port)) |
| 5479 | try: |
| 5480 | self.cli.settimeout(large_timeout) |
| 5481 | except OverflowError: |
| 5482 | return |
| 5483 | self.cli.sendall(MSG) |
| 5484 | |
| 5485 | |
| 5486 | class FileObjectClassTestCase(SocketConnectedTest): |
nothing calls this directly
no test coverage detected