From 2a52cb0d99b62bd243627b0a827d3d289564005c Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 2 Oct 2021 13:38:21 +0100 Subject: Make the test portable --- tests/test_rom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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( + "