test_encodingutil: correct an error in the previous patch to StdlibUnicode.test_open_representable.

This commit is contained in:
david-sarah 2010-07-18 08:14:20 -07:00
parent d329759bb8
commit 638a3b2af4

View File

@ -273,7 +273,7 @@ class StdlibUnicode(unittest.TestCase):
self.failIfIn("~", expanded) self.failIfIn("~", expanded)
self.failUnless(expanded.endswith(lumiere_nfc), expanded) self.failUnless(expanded.endswith(lumiere_nfc), expanded)
def test_open_unrepresentable(self, mock): def test_open_unrepresentable(self):
if unicode_platform(): if unicode_platform():
raise unittest.SkipTest("This test is not applicable to platforms that represent filenames as Unicode.") raise unittest.SkipTest("This test is not applicable to platforms that represent filenames as Unicode.")