From 736fbe6ea5c78e6c0864d47301d2742e6c0ed98b Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 6 Apr 2007 17:12:26 -0700 Subject: [PATCH] test_util.py: fix another minor python-2.5 issue --- src/allmydata/test/test_util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) == "