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:
parent
d91082c777
commit
1418320850
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue