mirror of
https://github.com/mnaberez/py65.git
synced 2024-12-30 13:29:18 +00:00
Replace xrange() with range()
This commit is contained in:
parent
12f14447b1
commit
048dc64dfe
@ -57,7 +57,7 @@ class ObservableMemoryTests(unittest.TestCase):
|
||||
def read_subscriber(address, value):
|
||||
return 0xAB
|
||||
|
||||
mem.subscribe_to_read(xrange(0xC000, 0xC001 + 1), read_subscriber)
|
||||
mem.subscribe_to_read(range(0xC000, 0xC001 + 1), read_subscriber)
|
||||
|
||||
mem[0xC000] = 0xAB
|
||||
mem[0xC001] = 0xAB
|
||||
|
Loading…
Reference in New Issue
Block a user