(self)
| 1219 | self.fail("socket.getnameinfo loses a reference") |
| 1220 | |
| 1221 | def testInterpreterCrash(self): |
| 1222 | # Making sure getnameinfo doesn't crash the interpreter |
| 1223 | try: |
| 1224 | # On some versions, this crashes the interpreter. |
| 1225 | socket.getnameinfo(('x', 0, 0, 0), 0) |
| 1226 | except OSError: |
| 1227 | pass |
| 1228 | |
| 1229 | def testNtoH(self): |
| 1230 | # This just checks that htons etc. are their own inverse, |
nothing calls this directly
no test coverage detected