Commit b3edde8d authored by Ned Deily's avatar Ned Deily Committed by GitHub

bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720)

The undecodable file name cannot be created on macOS APFS file systems.
parent e6f8a737
......@@ -384,7 +384,8 @@ class SimpleHTTPServerTestCase(BaseTestCase):
reader.close()
return body
@support.requires_mac_ver(10, 5)
@unittest.skipIf(sys.platform == 'darwin',
'undecodable name cannot always be decoded on macOS')
@unittest.skipIf(sys.platform == 'win32',
'undecodable name cannot be decoded on win32')
@unittest.skipUnless(support.TESTFN_UNDECODABLE,
......
Skip test_httpservers test_undecodable_file on macOS: fails on APFS.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment