(self)
| 6956 | # count small |
| 6957 | |
| 6958 | def _testCountSmall(self): |
| 6959 | address = self.serv.getsockname() |
| 6960 | file = open(os_helper.TESTFN, 'rb') |
| 6961 | sock = socket.create_connection(address, |
| 6962 | timeout=support.LOOPBACK_TIMEOUT) |
| 6963 | with sock, file: |
| 6964 | count = 1 |
| 6965 | meth = self.meth_from_sock(sock) |
| 6966 | sent = meth(file, count=count) |
| 6967 | self.assertEqual(sent, count) |
| 6968 | self.assertEqual(file.tell(), count) |
| 6969 | |
| 6970 | def testCountSmall(self): |
| 6971 | count = 1 |
nothing calls this directly
no test coverage detected