From: Brian Warner Date: Sat, 7 Apr 2007 00:12:26 +0000 (-0700) Subject: test_util.py: fix another minor python-2.5 issue X-Git-Url: https://git.rkrishnan.org/somewhere?a=commitdiff_plain;h=736fbe6ea5c78e6c0864d47301d2742e6c0ed98b;p=tahoe-lafs%2Ftahoe-lafs.git test_util.py: fix another minor python-2.5 issue --- diff --git a/src/allmydata/test/test_util.py b/src/allmydata/test/test_util.py index 32e976db..4e583fa6 100644 --- a/src/allmydata/test/test_util.py +++ b/src/allmydata/test/test_util.py @@ -46,7 +46,9 @@ class HumanReadable(unittest.TestCase): try: raise RuntimeError("oops") except Exception, e: - self.failUnlessEqual(hr(e), "") + self.failUnless( + hr(e) == "" # python-2.4 + or hr(e) == "