mirror of
https://github.com/python/cpython.git
synced 2025-10-01 21:02:15 +00:00
[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:
parent
e2ba552319
commit
d9cadc5f59
2 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Skip test_httpservers test_undecodable_file on macOS: fails on APFS.
|
Loading…
Add table
Add a link
Reference in a new issue