1
0
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:
Mike Naberezny 2013-10-26 14:08:21 -07:00
parent 12f14447b1
commit 048dc64dfe

View File

@ -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