disabled
 D    {
	"name": "@istanbuljs/load-nyc-config",
	"version": "1.1.0",
	"description": "Utility function to load nyc configuration",
	"main": "index.js",
	"scripts": {
		"pretest": "xo",
		"test": "tap",
		"snap": "npm test -- --snapshot",
		"release": "standard-version"
	},
	"engines": {
		"node": ">=8"
	},
	"license": "ISC",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/istanbuljs/load-nyc-config.git"
	},
	"bugs": {
		"url": "https://github.com/istanbuljs/load-nyc-config/issues"
	},
	"homepage": "https://github.com/istanbuljs/load-nyc-config#readme",
	"dependencies": {
		"camelcase": "^5.3.1",
		"find-up": "^4.1.0",
		"get-package-type": "^0.1.0",
		"js-yaml": "^3.13.1",
		"resolve-from": "^5.0.0"
	},
	"devDependencies": {
		"semver": "^6.3.0",
		"standard-version": "^7.0.0",
		"tap": "^14.10.5",
		"xo": "^0.25.3"
	},
	"xo": {
		"ignores": [
			"test/fixtures/extends/invalid.*"
		],
		"rules": {
			"require-atomic-updates": 0,
			"capitalized-comments": 0,
			"unicorn/import-index": 0,
			"import/extensions": 0,
			"import/no-useless-path-segments": 0
		}
	}
}
  A   ˆl–äY>”ÊeJeA3p\eÅ1hß�þd$‹7(Ÿ…eé ?ŸÄƒe¶YÃ_ŠI|¥�+Wé3ž¯ÃÂ Í    # test_server.py -- Compatibility tests for git server.
# Copyright (C) 2010 Google, Inc.
#
# Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
# General Public License as public by the Free Software Foundation; version 2.0
# or (at your option) any later version. You can redistribute it and/or
# modify it under the terms of either of these two licenses.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# You should have received a copy of the licenses; if not, see
# <http://www.gnu.org/licenses/> for a copy of the GNU General Public License
# and <http://www.apache.org/licenses/LICENSE-2.0> for a copy of the Apache
# License, Version 2.0.
#

"""Compatibility tests between Dulwich and the cgit server.

Warning: these tests should be fairly stable, but when writing/debugging new
    tests, deadlocks may freeze the test process such that it cannot be
    Ctrl-C'ed. On POSIX systems, you can kill the tests with Ctrl-Z, "kill %".
"""

import threading
import os
import sys

from dulwich.server import (
    DictBackend,
    TCPGitServer,
)
from dulwich.tests import skipIf
from dulwich.tests.compat.server_utils import (
    ServerTests,
    NoSideBand64kReceivePackHandler,
)
from dulwich.tests.compat.utils import (
    CompatTestCase,
    require_git_version,
)


@skipIf(sys.platform == "win32", "Broken on windows, with very long fail time.")
class GitServerTestCase(ServerTests, CompatTestCase):
    """Tests for client/server compatibility.

    This server test case does not use side-band-64k in git-receive-pack.
    """

    protocol = "git"

    def _handlers(self):
        return {b"git-receive-pack": NoSideBand64kReceivePackHandler}

    def _check_server(self, dul_server):
        receive_pack_handler_cls = dul_server.handlers[b"git-receive-pack"]
        caps = receive_pack_handler_cls.capabilities()
        self.assertNotIn(b"side-band-64k", caps)

    def _start_server(self, repo):
        backend = DictBackend({b"/": repo})
        dul_server = TCPGitServer(backend, b"localhost", 0, handlers=self._handlers())
        self._check_server(dul_server)
        self.addCleanup(dul_server.shutdown)
        self.addCleanup(dul_server.server_close)
        threading.Thread(target=dul_server.serve).start()
        self._server = dul_server
        _, port = self._server.socket.getsockname()
        return port


@skipIf(sys.platform == "win32", "Broken on windows, with very long fail time.")
class GitServerSideBand64kTestCase(GitServerTestCase):
    """Tests for client/server compatibility with side-band-64k support."""

    # side-band-64k in git-receive-pack was intr