##// END OF EJS Templates
tests: use assertTrue() instead of assert_() in test-bdiff.py...
Pulkit Goyal -
r39825:e961f18a default
parent child Browse files
Show More
@@ -22,6 +22,7 b' test-backout.t'
22 test-backwards-remove.t
22 test-backwards-remove.t
23 test-bad-pull.t
23 test-bad-pull.t
24 test-basic.t
24 test-basic.t
25 test-bdiff.py
25 test-bheads.t
26 test-bheads.t
26 test-bisect.t
27 test-bisect.t
27 test-bisect2.t
28 test-bisect2.t
@@ -99,7 +99,7 b' class BdiffTests(unittest.TestCase):'
99 diffreplace(12, 12, b'', b'b\nc\n.\n'),
99 diffreplace(12, 12, b'', b'b\nc\n.\n'),
100 b'd\ne\n',
100 b'd\ne\n',
101 diffreplace(16, 18, b'.\n', b''), b'f\n']
101 diffreplace(16, 18, b'.\n', b''), b'f\n']
102 self.assert_(got in (want_c, want_pure),
102 self.assertTrue(got in (want_c, want_pure),
103 'got: %r, wanted either %r or %r' % (
103 'got: %r, wanted either %r or %r' % (
104 got, want_c, want_pure))
104 got, want_c, want_pure))
105
105
General Comments 0
You need to be logged in to leave comments. Login now