test_stringutils.py: trivial error in exception message for skipped test.

This commit is contained in:
david-sarah 2010-06-06 23:14:55 -07:00
parent 529c9f673a
commit 8b014372b1

View File

@ -207,7 +207,8 @@ class StringUtils(ReallyEqualMixin):
u"test".encode(self.filesystem_encoding)
except LookupError:
raise unittest.SkipTest("This platform does not support the '%s' filesystem encoding "
"that we are testing for the benefit of a different platform.")
"that we are testing for the benefit of a different platform."
% (self.filesystem_encoding,))
mock_listdir.return_value = self.dirlist
mock_getfilesystemencoding.return_value = self.filesystem_encoding
@ -229,7 +230,8 @@ class StringUtils(ReallyEqualMixin):
u"test".encode(self.filesystem_encoding)
except LookupError:
raise unittest.SkipTest("This platform does not support the '%s' filesystem encoding "
"that we are testing for the benefit of a different platform.")
"that we are testing for the benefit of a different platform."
% (self.filesystem_encoding,))
_reload()
try: