Kaydet (Commit) 14183208 authored tarafından Ned Deily's avatar Ned Deily

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.
üst d91082c7
...@@ -269,6 +269,7 @@ class SimpleHTTPServerTestCase(BaseTestCase): ...@@ -269,6 +269,7 @@ class SimpleHTTPServerTestCase(BaseTestCase):
self.assertEqual(data, body) self.assertEqual(data, body)
return body return body
@support.requires_mac_ver(10, 5)
@unittest.skipUnless(support.TESTFN_UNDECODABLE, @unittest.skipUnless(support.TESTFN_UNDECODABLE,
'need support.TESTFN_UNDECODABLE') 'need support.TESTFN_UNDECODABLE')
def test_undecodable_filename(self): def test_undecodable_filename(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment