Skip to content

Test fail on big-endian (s390x) #12

Description

@ptrcnull

Example from Alpine Linux edge: https://gitlab.alpinelinux.org/ptrcnull/aports/-/jobs/783199#L149

======================================================================
FAIL: test_empty (pythongettext.tests.test_compile.TestWriter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/ptrcnull/aports/community/py3-gettext/src/python-gettext-4.0/pythongettext/tests/test_compile.py", line 30, in test_empty
    self.compare_po_mo('test_empty.po', 'test_empty.mo')
  File "/builds/ptrcnull/aports/community/py3-gettext/src/python-gettext-4.0/pythongettext/tests/test_compile.py", line 27, in compare_po_mo
    self.assertEqual(mo, po)
AssertionError: b'\xde\x12\x04\x95\x00\x00\x00\x00\x00\x00\x0[65 chars]\x00' != b'\x95\x04\x12\xde\x00\x00\x00\x00\x00\x00\x0[65 chars]\x1c'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions