From: Ned Deily Date: Mon, 5 Jan 2015 09:02:30 +0000 (-0800) Subject: Issue #22165: Skip test_undecodable_filename on OS X prior to 10.5. X-Git-Tag: v3.4.3rc1~176 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=14183208506914ab595cc9bc3917fd2b828bcfd5;p=thirdparty%2FPython%2Fcpython.git Issue #22165: Skip test_undecodable_filename on OS X prior to 10.5. 10.4 systems do not allow creation of files with such filenames. --- diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index a31db5b57b8e..569341d83b40 100644 --- a/Lib/test/test_httpservers.py +++ b/Lib/test/test_httpservers.py @@ -269,6 +269,7 @@ class SimpleHTTPServerTestCase(BaseTestCase): self.assertEqual(data, body) return body + @support.requires_mac_ver(10, 5) @unittest.skipUnless(support.TESTFN_UNDECODABLE, 'need support.TESTFN_UNDECODABLE') def test_undecodable_filename(self):