浏览代码

Disable test_delta_large_object for the moment, since it is slow.

Jelmer Vernooij 11 年之前
父节点
当前提交
563c5011ac
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dulwich/tests/compat/test_pack.py

+ 3 - 0
dulwich/tests/compat/test_pack.py

@@ -25,6 +25,7 @@ import os
 import re
 import shutil
 import tempfile
+from unittest import SkipTest
 
 from dulwich.pack import (
     write_pack,
@@ -55,6 +56,7 @@ def _git_verify_pack_object_list(output):
         pack_shas.add(sha)
     return pack_shas
 
+
 class TestPack(PackTests):
     """Compatibility tests for reading and writing pack files."""
 
@@ -128,6 +130,7 @@ class TestPack(PackTests):
         # This tests an object set that will have a copy operation
         # 2**25 in size. This is a copy large enough that it requires
         # two copy operations in git's binary delta format.
+        raise SkipTest('skipping slow, large test')
         orig_pack = self.get_pack(pack1_sha)
         orig_blob = orig_pack[a_sha]
         new_blob = Blob()