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

The undecodable file name cannot be created on macOS APFS file systems.
This commit is contained in:
Ned Deily 2017-12-04 23:42:02 -05:00 committed by GitHub
parent e6f8a7378d
commit b3edde8dd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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,

View File

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