From: Francois Deppierraz Date: Fri, 21 May 2010 09:33:45 +0000 (-0700) Subject: test_stringutils.py: Fix a trivial Python 2.4 syntax incompatibility X-Git-Url: https://git.rkrishnan.org/pf/content/simplejson/-?a=commitdiff_plain;h=eecaaca6b7e1f370321de91f023fab5b814b2101;p=tahoe-lafs%2Ftahoe-lafs.git test_stringutils.py: Fix a trivial Python 2.4 syntax incompatibility --- diff --git a/src/allmydata/test/test_stringutils.py b/src/allmydata/test/test_stringutils.py index e2dba0c5..73a67e6b 100644 --- a/src/allmydata/test/test_stringutils.py +++ b/src/allmydata/test/test_stringutils.py @@ -131,7 +131,7 @@ class StringUtilsNonUnicodePlatform(unittest.TestCase): open_unicode, u'lumière') -class StringUtils(): +class StringUtils: def setUp(self): # Mock sys.platform because unicode_platform() uses it self.original_platform = sys.platform