Kaynağa Gözat

remove unused variable from test_ext_ref_deltified_object_based_on_itself

Stefan Sperling 9 ay önce
ebeveyn
işleme
037bf9ed4c
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 2
      tests/test_pack.py

+ 0 - 2
tests/test_pack.py

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