changeset 7471:94ecd4922a23

use repr() instead of backticks
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 06 Dec 2008 15:37:15 +0100
parents 1d58c0491d5e
children 9d457bb38de5
files tests/test-bdiff
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bdiff	Sat Dec 06 14:27:31 2008 +0100
+++ b/tests/test-bdiff	Sat Dec 06 15:37:15 2008 +0100
@@ -9,13 +9,13 @@
     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)