[3.6] bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (GH-4720) (#4721)

The undecodable file name cannot be created on macOS APFS file systems.
(cherry picked from commit b3edde8dd4)
This commit is contained in:
Miss Islington (bot) 2017-12-04 21:03:29 -08:00 committed by Ned Deily
parent e2ba552319
commit d9cadc5f59
2 changed files with 3 additions and 1 deletions

View file

@ -370,7 +370,8 @@ class SimpleHTTPServerTestCase(BaseTestCase):
reader.close() reader.close()
return body 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', @unittest.skipIf(sys.platform == 'win32',
'undecodable name cannot be decoded on win32') 'undecodable name cannot be decoded on win32')
@unittest.skipUnless(support.TESTFN_UNDECODABLE, @unittest.skipUnless(support.TESTFN_UNDECODABLE,

View file

@ -0,0 +1 @@
Skip test_httpservers test_undecodable_file on macOS: fails on APFS.