From 5f50543c3b64ec2a78bc84ca3b3ef225c991e1f4 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 11 Feb 2008 17:37:51 -0700 Subject: [PATCH] test_dirnode.py: improve error messages in case timestamp tests fail --- src/allmydata/test/test_dirnode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/test/test_dirnode.py b/src/allmydata/test/test_dirnode.py index 327e8b9e..2cca9a49 100644 --- a/src/allmydata/test/test_dirnode.py +++ b/src/allmydata/test/test_dirnode.py @@ -159,10 +159,10 @@ class Dirnode(unittest.TestCase, testutil.ShouldFailMixin): return d def failUnlessGreaterThan(self, a, b): - self.failUnless(a > b, "%s should be > %s" % (a, b)) + self.failUnless(a > b, "%r should be > %r" % (a, b)) def failUnlessGreaterOrEqualThan(self, a, b): - self.failUnless(a >= b, "%s should be >= %s" % (a, b)) + self.failUnless(a >= b, "%r should be >= %r" % (a, b)) def stall(self, res, delay=1.0): d = defer.Deferred() -- 2.45.2