Patchwork D7760: tests: drop unused local variable assignments in linelog

login
register
mail settings
Submitter phabricator
Date Dec. 28, 2019, 1:29 a.m.
Message ID <differential-rev-PHID-DREV-uul537zjj36jebnvearl-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44101/
State Superseded
Headers show

Comments

phabricator - Dec. 28, 2019, 1:29 a.m.
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




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

Patch

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(