From 8b014372b1ab9460e36156459dec7588dc4b1154 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Sun, 6 Jun 2010 23:14:55 -0700 Subject: [PATCH] test_stringutils.py: trivial error in exception message for skipped test. --- src/allmydata/test/test_stringutils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: -- 2.45.2