Commit Diff


commit - 5c1a5ecedb1d272dc7121f5cb7fa191b040f929d
commit + 5b2f74f024a5521039a7a2ae5af6a825bab209cb
blob - 910a16953a9a5ed27b42ba3c1952636f9540513c
blob + 4535db8f62d30d443ead34aafc4899b0b951114e
--- tests/compat/test_client.py
+++ tests/compat/test_client.py
@@ -288,6 +288,8 @@ class DulwichClientTestBase:
             self.assertDestEqualsSrc()
 
     def test_fetch_pack_no_side_band_64k(self):
+        if protocol.DEFAULT_GIT_PROTOCOL_VERSION_FETCH >= 2:
+            raise SkipTest("side-band-64k cannot be disabled with git protocol v2")
         c = self._client()
         c._fetch_capabilities.remove(b"side-band-64k")
         with repo.Repo(os.path.join(self.gitroot, "dest")) as dest: