mirror of https://github.com/python/cpython
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:
parent
e6f8a7378d
commit
b3edde8dd4
|
@ -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,
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Skip test_httpservers test_undecodable_file on macOS: fails on APFS.
|
Loading…
Reference in New Issue