]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #22165: Skip test_undecodable_filename on OS X prior to 10.5.
authorNed Deily <nad@acm.org>
Mon, 5 Jan 2015 09:02:30 +0000 (01:02 -0800)
committerNed Deily <nad@acm.org>
Mon, 5 Jan 2015 09:02:30 +0000 (01:02 -0800)
10.4 systems do not allow creation of files with such filenames.

Lib/test/test_httpservers.py

index a31db5b57b8eb8ef5aea4b3907b696caf437b1dc..569341d83b40d511f984c25c6cd3e58647d76b02 100644 (file)
@@ -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):