D4696: py3: use '%d' for integers instead of '%s'
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Mon Sep 24 01:50:27 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG69defbb83be7: py3: use '%d' for integers instead of '%s' (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4696?vs=11292&id=11298
REVISION DETAIL
https://phab.mercurial-scm.org/D4696
AFFECTED FILES
tests/test-bdiff.py
CHANGE DETAILS
diff --git a/tests/test-bdiff.py b/tests/test-bdiff.py
--- a/tests/test-bdiff.py
+++ b/tests/test-bdiff.py
@@ -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'),
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list