# HG changeset patch # User Matt Harbison # Date 1577490640 18000 # Node ID 37458d8b0c1e826d318f7aab314d5966533be73f # Parent de358da72eb118e23b62aba94b2b0884d01affb8 tests: drop unused local variable assignments in remotefilelog Flagged by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7758 diff -r de358da72eb1 -r 37458d8b0c1e tests/test-remotefilelog-datapack.py --- 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 diff -r de358da72eb1 -r 37458d8b0c1e tests/test-remotefilelog-histpack.py --- 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