Skip to content

Commit fb21652

Browse files
committed
Skip testSurrogateescapeBind on Windows
1 parent 4d45624 commit fb21652

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_socket.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6208,6 +6208,8 @@ def testBytesAddr(self):
62086208
self.addCleanup(os_helper.unlink, path)
62096209
self.assertEqual(self.sock.getsockname(), path)
62106210

6211+
@unittest.skipIf(sys.platform == 'win32',
6212+
'surrogateescape file path is not supported on Windows')
62116213
def testSurrogateescapeBind(self):
62126214
# Test binding to a valid non-ASCII pathname, with the
62136215
# non-ASCII bytes supplied using surrogateescape encoding.

0 commit comments

Comments
 (0)