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 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