test_value_to_name_invalid failing on aarch64
When running the test suite on NixOS system with aarch64
architecture, it seems to fail with:
=================================== FAILURES ===================================
________________ TestNameConversion.test_value_to_name_invalid _________________
self = <test_clib.TestNameConversion testMethod=test_value_to_name_invalid>
def test_value_to_name_invalid(self):
name = Libevdev.event_to_name(3, 0x37, 1000)
self.assertIsNone(name)
name = Libevdev.event_to_name(3, 0x37, -1)
> self.assertIsNone(name)
E AssertionError: 'MSC_MAX' is not None
test/test_clib.py:106: AssertionError
x86_64
seems to work.
- Python 3.8.
- python-libevdev 0.9
- libevdev 1.9.0
Downstream link: https://github.com/NixOS/nixpkgs/pull/92715#issuecomment-655637413