tests/test-bdiff.py
changeset 39788 69defbb83be7
parent 39787 e05d7c71f209
child 39789 e961f18a0094
--- a/tests/test-bdiff.py	Sun Sep 23 23:34:22 2018 +0300
+++ b/tests/test-bdiff.py	Sun Sep 23 23:35:38 2018 +0300
@@ -117,8 +117,8 @@
 
     def test_nice_diff_for_trivial_change(self):
         self.assertEqual(self.showdiff(
-            b''.join(b'<%s\n-\n' % i for i in range(5)),
-            b''.join(b'>%s\n-\n' % i for i in range(5))),
+            b''.join(b'<%d\n-\n' % i for i in range(5)),
+            b''.join(b'>%d\n-\n' % i for i in range(5))),
                          [diffreplace(0, 3, b'<0\n', b'>0\n'),
                           b'-\n',
                           diffreplace(5, 8, b'<1\n', b'>1\n'),