commit 5b2f74f024a5521039a7a2ae5af6a825bab209cb from: Stefan Sperling date: Tue Jun 25 08:54:01 2024 UTC skip test_fetch_pack_no_side_band_64k if git protocol v2 is used Git protocol v2 implies the side-band-64k capability so this test is meaningless in that case. 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: