Browse Source

remove unused variable from test_ext_ref_deltified_object_based_on_itself

Stefan Sperling 9 months ago
parent
commit
037bf9ed4c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      tests/test_pack.py

+ 0 - 2
tests/test_pack.py

@@ -1299,13 +1299,11 @@ class DeltaChainIteratorTests(TestCase):
         fsize = f.tell()
         fsize = f.tell()
         f.seek(0)
         f.seek(0)
         packdata = PackData.from_file(f, fsize)
         packdata = PackData.from_file(f, fsize)
-        indexfile = BytesIO()
         packdata.create_index(
         packdata.create_index(
             "test.idx",
             "test.idx",
             version=2,
             version=2,
             resolve_ext_ref=self.get_raw_no_repeat,
             resolve_ext_ref=self.get_raw_no_repeat,
         )
         )
-        indexfile.seek(0)
         packindex = load_pack_index("test.idx")
         packindex = load_pack_index("test.idx")
         pack = Pack.from_objects(packdata, packindex)
         pack = Pack.from_objects(packdata, packindex)
         try:
         try: