From 6a6631a92ecd429fa56703d716a746408bcb74d5 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Fri, 6 Apr 2007 17:21:25 -0700
Subject: [PATCH] test_util.py: sigh, one last minor python-2.5 issue

---
 src/allmydata/test/test_util.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/allmydata/test/test_util.py b/src/allmydata/test/test_util.py
index 4e583fa6..95db756d 100644
--- a/src/allmydata/test/test_util.py
+++ b/src/allmydata/test/test_util.py
@@ -48,11 +48,13 @@ class HumanReadable(unittest.TestCase):
         except Exception, e:
             self.failUnless(
                 hr(e) == "<RuntimeError: 'oops'>" # python-2.4
-                or hr(e) == "<RuntimeError('oops',)") # python-2.5
+                or hr(e) == "RuntimeError('oops',)") # python-2.5
         try:
             raise NoArgumentException
         except Exception, e:
-            self.failUnlessEqual(hr(e), "<NoArgumentException>")
+            self.failUnless(
+                hr(e) == "<NoArgumentException>" # python-2.4
+                or hr(e) == "NoArgumentException()") # python-2.5
 
 
 class MyList(list):
-- 
2.45.2