(self, sock, path)
| 6304 | path, sys.getfilesystemencoding())) |
| 6305 | |
| 6306 | def bind(self, sock, path): |
| 6307 | # Bind the socket |
| 6308 | try: |
| 6309 | socket_helper.bind_unix_socket(sock, path) |
| 6310 | except OSError as e: |
| 6311 | if str(e) == "AF_UNIX path too long": |
| 6312 | self.skipTest( |
| 6313 | "Pathname {0!a} is too long to serve as an AF_UNIX path" |
| 6314 | .format(path)) |
| 6315 | else: |
| 6316 | raise |
| 6317 | |
| 6318 | def testUnbound(self): |
| 6319 | # Issue #30205 (note getsockname() can return None on OS X) |
no test coverage detected