use repr() instead of backticks
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 06 Dec 2008 15:37:15 +0100
changeset 7471 94ecd4922a23
parent 7470 1d58c0491d5e
child 7472 9d457bb38de5
use repr() instead of backticks
tests/test-bdiff
--- 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)