diff --git a/py65/tests/devices/test_mpu6502.py b/py65/tests/devices/test_mpu6502.py index 9ce3505..5a426fb 100644 --- a/py65/tests/devices/test_mpu6502.py +++ b/py65/tests/devices/test_mpu6502.py @@ -5540,8 +5540,7 @@ class Common6502Tests: self.assertEqual(0x0001, mpu.pc) def test_decorated_addressing_modes_are_valid(self): - valid_modes = map(lambda x: x[0], - py65.assembler.Assembler.Addressing) + valid_modes = [x[0] for x in py65.assembler.Assembler.Addressing] mpu = self._make_mpu() for name, mode in mpu.disassemble: self.assertTrue(mode in valid_modes)