diff options
author | Juan J. Martinez <jjm@usebox.net> | 2021-10-02 13:38:21 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2021-10-02 13:38:21 +0100 |
commit | 2a52cb0d99b62bd243627b0a827d3d289564005c (patch) | |
tree | 5d9b30a010625712f7320fdffa9d047dbf251185 | |
parent | 54373248c7000cdad36ab4b9ae2feeb6fb4c70b9 (diff) | |
download | ubox-msx-lib-2a52cb0d99b62bd243627b0a827d3d289564005c.tar.gz ubox-msx-lib-2a52cb0d99b62bd243627b0a827d3d289564005c.zip |
Make the test portable
-rwxr-xr-x | tests/test_rom.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_rom.py b/tests/test_rom.py index c378d23..657a161 100755 --- a/tests/test_rom.py +++ b/tests/test_rom.py @@ -31,7 +31,8 @@ class TestRom(unittest.TestCase): self.assertEqual(len(self.data), self.ROM_SIZE) def test_header_main_init_address(self): - self.assertEqual(struct.unpack("H", self.data[2:4]), (self.main_init,)) + self.assertEqual(struct.unpack( + "<H", self.data[2:4]), (self.main_init,)) if __name__ == '__main__': |