]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_stringutils.py: trivial error in exception message for skipped test.
authordavid-sarah <david-sarah@jacaranda.org>
Mon, 7 Jun 2010 06:14:55 +0000 (23:14 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Mon, 7 Jun 2010 06:14:55 +0000 (23:14 -0700)
src/allmydata/test/test_stringutils.py

index c66586b0a5fee2a89df9342ca7a5c8eb779d565b..a4095c841a55dc796f794ac9aad20754143a2fd2 100644 (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: