mirror of
https://github.com/mnaberez/py65.git
synced 2024-11-19 06:31:08 +00:00
Replaces a range by an xrange
Signed-off-by: Mike Naberezny <mike@naberezny.com>
This commit is contained in:
parent
90d189151b
commit
dc1897310e
@ -56,7 +56,7 @@ class ObservableMemoryTests(unittest.TestCase):
|
||||
def listener(address, value):
|
||||
return 0xAB
|
||||
|
||||
mem.register_listener(range(0xC000, 0xC001+1), listener)
|
||||
mem.register_listener(xrange(0xC000, 0xC001+1), listener)
|
||||
|
||||
mem[0xC000] = 0xAB
|
||||
mem[0xC001] = 0xAB
|
||||
|
Loading…
Reference in New Issue
Block a user