(self)
| 6853 | # count small |
| 6854 | |
| 6855 | def _testCountSmall(self): |
| 6856 | address = self.serv.getsockname() |
| 6857 | file = open(os_helper.TESTFN, 'rb') |
| 6858 | sock = socket.create_connection(address, |
| 6859 | timeout=support.LOOPBACK_TIMEOUT) |
| 6860 | with sock, file: |
| 6861 | count = 1 |
| 6862 | meth = self.meth_from_sock(sock) |
| 6863 | sent = meth(file, count=count) |
| 6864 | self.assertEqual(sent, count) |
| 6865 | self.assertEqual(file.tell(), count) |
| 6866 | |
| 6867 | def testCountSmall(self): |
| 6868 | count = 1 |
nothing calls this directly
no test coverage detected