# HG changeset patch # User Benoit Boissinot # Date 2008-12-06 14:37:15 # Node ID 94ecd4922a23efe82e7a71a4e08c951358f9c3ec # Parent 1d58c0491d5e093c6fea6f9d2d83dd5332c0f259 use repr() instead of backticks diff --git a/tests/test-bdiff b/tests/test-bdiff --- a/tests/test-bdiff +++ b/tests/test-bdiff @@ -9,13 +9,13 @@ def test1(a, b): if d: c = mpatch.patches(a, [d]) if c != b: - print "***", `a`, `b` + print "***", repr(a), repr(b) print "bad:" - print `c`[:200] - print `d` + print repr(c)[:200] + print repr(d) def test(a, b): - print "***", `a`, `b` + print "***", repr(a), repr(b) test1(a, b) test1(b, a)