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.
This commit is contained in:
Ned Deily 2015-01-05 01:02:30 -08:00
parent d91082c777
commit 1418320850
1 changed files with 1 additions and 0 deletions

View 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):