D7760: tests: drop unused local variable assignments in linelog

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Fri Dec 27 20:29:37 EST 2019


mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Flagged by PyCharm.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7760

AFFECTED FILES
  tests/test-linelog.py

CHANGE DETAILS

diff --git a/tests/test-linelog.py b/tests/test-linelog.py
--- a/tests/test-linelog.py
+++ b/tests/test-linelog.py
@@ -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(



To: mharbison72, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list