(self)
| 6832 | # count |
| 6833 | |
| 6834 | def _testCount(self): |
| 6835 | address = self.serv.getsockname() |
| 6836 | file = open(os_helper.TESTFN, 'rb') |
| 6837 | sock = socket.create_connection(address, |
| 6838 | timeout=support.LOOPBACK_TIMEOUT) |
| 6839 | with sock, file: |
| 6840 | count = 5000007 |
| 6841 | meth = self.meth_from_sock(sock) |
| 6842 | sent = meth(file, count=count) |
| 6843 | self.assertEqual(sent, count) |
| 6844 | self.assertEqual(file.tell(), count) |
| 6845 | |
| 6846 | def testCount(self): |
| 6847 | count = 5000007 |
nothing calls this directly
no test coverage detected