changeset 43990:37458d8b0c1e

tests: drop unused local variable assignments in remotefilelog Flagged by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7758
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 27 Dec 2019 18:50:40 -0500
parents de358da72eb1
children e3ce3731d621
files tests/test-remotefilelog-datapack.py tests/test-remotefilelog-histpack.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-remotefilelog-datapack.py	Fri Dec 27 18:43:18 2019 -0500
+++ b/tests/test-remotefilelog-datapack.py	Fri Dec 27 18:50:40 2019 -0500
@@ -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
--- a/tests/test-remotefilelog-histpack.py	Fri Dec 27 18:43:18 2019 -0500
+++ b/tests/test-remotefilelog-histpack.py	Fri Dec 27 18:50:40 2019 -0500
@@ -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