浏览代码

Require at least git 1.6.6 when testing http smart server support.

Jelmer Vernooij 13 年之前
父节点
当前提交
6e11b0ff65
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      dulwich/tests/compat/test_client.py

+ 2 - 1
dulwich/tests/compat/test_client.py

@@ -30,7 +30,6 @@ import subprocess
 import tempfile
 import threading
 import urllib
-import urlparse
 
 from dulwich import (
     client,
@@ -407,6 +406,8 @@ if not getattr(HTTPGitServer, 'shutdown', None):
 
 class DulwichHttpClientTest(CompatTestCase, DulwichClientTestBase):
 
+    min_git_version = (1, 7, 0, 2)
+
     def setUp(self):
         CompatTestCase.setUp(self)
         DulwichClientTestBase.setUp(self)