From f0682cf43ebdb30dad0cbaca3dad186cd1e3c2e0 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Thu, 29 Jan 2009 10:49:06 -0700 Subject: [PATCH] setup: more verbose assertion failure in test_runner --- src/allmydata/test/test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_runner.py b/src/allmydata/test/test_runner.py index 4a01be57..098d8964 100644 --- a/src/allmydata/test/test_runner.py +++ b/src/allmydata/test/test_runner.py @@ -24,7 +24,7 @@ class TheRightCode(unittest.TestCase, common_util.SignalMixin): # Fail unless the allmydata-tahoe package is *this* version *and* was loaded from *this* source directory. required_ver_and_path = "allmydata-tahoe: %s (%s)" % (allmydata.__version__, os.path.dirname(os.path.dirname(allmydata.__file__))) - self.failUnless(out.startswith(required_ver_and_path), (out, err, rc_or_sig)) + self.failUnless(out.startswith(required_ver_and_path), (out, err, rc_or_sig, required_ver_and_path)) d.addCallback(_cb) return d -- 2.45.2