From: david-sarah Date: Mon, 7 Jun 2010 06:14:55 +0000 (-0700) Subject: test_stringutils.py: trivial error in exception message for skipped test. X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/index.html?a=commitdiff_plain;h=8b014372b1ab9460e36156459dec7588dc4b1154;p=tahoe-lafs%2Ftahoe-lafs.git test_stringutils.py: trivial error in exception message for skipped test. --- diff --git a/src/allmydata/test/test_stringutils.py b/src/allmydata/test/test_stringutils.py index c66586b0..a4095c84 100644 --- a/src/allmydata/test/test_stringutils.py +++ b/src/allmydata/test/test_stringutils.py @@ -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: