Skip to content
Snippets Groups Projects
Commit 66ae6a19 authored by Georges Racinet's avatar Georges Racinet
Browse files

Excluding dulwich backport from coverage

the backport is released in dulwich 0.20.14 and our
unit test proves that it has indeed been included, as
expected.

Not removing the backport yet because py-heptapod is
still pinned to an older dulwich, but will do as soon
as I have time to check the changes that bumping to the
new release will also bring (expecting bugfixes only).
parent 442fde8a
Branches
Tags
No related merge requests found
Pipeline #13462 passed
Pipeline: hgitaly

#13466

    ......@@ -19,7 +19,7 @@
    # 544e90f8cbce1282ecb3d8ff73b5d7ecae905601
    #
    # see also https://github.com/dulwich/dulwich/pull/815 and heptapod#370
    def _read_alternate_paths(self):
    def _read_alternate_paths(self): # pragma: no cover
    try:
    f = GitFile(os.path.join(self.path, INFODIR, "alternates"), 'rb')
    except FileNotFoundError:
    ......@@ -36,7 +36,7 @@
    line))
    if dulwich.__version__ < (0, 20, 14):
    if dulwich.__version__ < (0, 20, 14): # pragma no cover
    # our tests will run immediately on the dulwich with the fix,
    # only coverage telling us it's time to remove the unneeded patch
    DiskObjectStore._read_alternate_paths = _read_alternate_paths
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment