Browse Source

remove unused variable from test_ext_ref_deltified_object_based_on_itself

Stefan Sperling 9 tháng trước cách đây
mục cha
commit
037bf9ed4c
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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: