浏览代码

remove unused variable from test_ext_ref_deltified_object_based_on_itself

Stefan Sperling 9 月之前
父节点
当前提交
037bf9ed4c
共有 1 个文件被更改,包括 0 次插入2 次删除
  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: