Patchwork D7758: tests: drop unused local variable assignments in remotefilelog

login
register
mail settings
Submitter phabricator
Date Dec. 30, 2019, 1:32 p.m.
Message ID <2a4b27aa57f39f818d1d2e04a7e3e044@localhost.localdomain>
Download mbox | patch
Permalink /patch/44128/
State Not Applicable
Headers show

Comments

phabricator - Dec. 30, 2019, 1:32 p.m.
Closed by commit rHG37458d8b0c1e: tests: drop unused local variable assignments in remotefilelog (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7758?vs=18989&id=19018

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7758/new/

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

AFFECTED FILES
  tests/test-remotefilelog-datapack.py
  tests/test-remotefilelog-histpack.py

CHANGE DETAILS




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

Patch

diff --git a/tests/test-remotefilelog-histpack.py b/tests/test-remotefilelog-histpack.py
--- a/tests/test-remotefilelog-histpack.py
+++ b/tests/test-remotefilelog-histpack.py
@@ -252,7 +252,7 @@ 
             f.write(raw)
 
         try:
-            pack = historypack.historypack(pack.path)
+            historypack.historypack(pack.path)
             self.assertTrue(False, "bad version number should have thrown")
         except RuntimeError:
             pass
diff --git a/tests/test-remotefilelog-datapack.py b/tests/test-remotefilelog-datapack.py
--- a/tests/test-remotefilelog-datapack.py
+++ b/tests/test-remotefilelog-datapack.py
@@ -237,7 +237,7 @@ 
             f.write(raw)
 
         try:
-            pack = self.datapackreader(pack.path)
+            self.datapackreader(pack.path)
             self.assertTrue(False, "bad version number should have thrown")
         except RuntimeError:
             pass