(self)
| 1227 | self.fail("socket.getnameinfo loses a reference") |
| 1228 | |
| 1229 | def testInterpreterCrash(self): |
| 1230 | # Making sure getnameinfo doesn't crash the interpreter |
| 1231 | try: |
| 1232 | # On some versions, this crashes the interpreter. |
| 1233 | socket.getnameinfo(('x', 0, 0, 0), 0) |
| 1234 | except OSError: |
| 1235 | pass |
| 1236 | |
| 1237 | def testNtoH(self): |
| 1238 | # This just checks that htons etc. are their own inverse, |
nothing calls this directly
no test coverage detected