From b3edde8dd44c878e9f039a2165d00ff075157d4b Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 4 Dec 2017 23:42:02 -0500 Subject: bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720) The undecodable file name cannot be created on macOS APFS file systems. --- Lib/test/test_httpservers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lib/test/test_httpservers.py') diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index 20e6f66766..cc829a522b 100644 --- a/Lib/test/test_httpservers.py +++ b/Lib/test/test_httpservers.py @@ -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, -- cgit v1.2.1