mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
test_stringutils.py: trivial error in exception message for skipped test.
This commit is contained in:
parent
529c9f673a
commit
8b014372b1
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user