Skip to content

big endian: FAIL: test_no_context_lines (test.test_patch.PatchTest) #765

@onovy

Description

@onovy

Hi,

test.test_patch.PatchTest.test_no_context_lines fails on archs mips, s390x, hppa, powerpc or ppc64. I think all of them are "big endian". This bug is new in 0.26.3, because before this version test_no_context_lines test didn't exists.

FAIL: test_no_context_lines (test.test_patch.PatchTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/test/test_patch.py", line 196, in test_no_context_lines
    self.assertEqual(context_count, 0)
AssertionError: 1 != 0

See: https://buildd.debian.org/status/package.php?p=python-pygit2

Thanks for fixing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions