(self, sock, path)
| 6201 | path, sys.getfilesystemencoding())) |
| 6202 | |
| 6203 | def bind(self, sock, path): |
| 6204 | # Bind the socket |
| 6205 | try: |
| 6206 | socket_helper.bind_unix_socket(sock, path) |
| 6207 | except OSError as e: |
| 6208 | if str(e) == "AF_UNIX path too long": |
| 6209 | self.skipTest( |
| 6210 | "Pathname {0!a} is too long to serve as an AF_UNIX path" |
| 6211 | .format(path)) |
| 6212 | else: |
| 6213 | raise |
| 6214 | |
| 6215 | def testUnbound(self): |
| 6216 | # Issue #30205 (note getsockname() can return None on OS X) |
no test coverage detected