tests: drop unused local variable assignments in linelog
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 27 Dec 2019 18:52:15 -0500
changeset 43992 e52a9c85a7a8
parent 43991 e3ce3731d621
child 43993 873d0fecb9a3
tests: drop unused local variable assignments in linelog Flagged by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7760
tests/test-linelog.py
--- a/tests/test-linelog.py	Fri Dec 27 18:51:45 2019 -0500
+++ b/tests/test-linelog.py	Fri Dec 27 18:52:15 2019 -0500
@@ -172,7 +172,7 @@
                 ll.replacelines_vec(rev, a1, a2, blines)
             else:
                 ll.replacelines(rev, a1, a2, b1, b2)
-            ar = ll.annotate(rev)
+            ll.annotate(rev)
             self.assertEqual(ll.annotateresult, lines)
         # Verify we can get back these states by annotating each rev
         for lines, rev, a1, a2, b1, b2, blines, usevec in _genedits(