fix: TypeError: 'method' object is not subscriptable

This commit is contained in:
SNeedlewoods
2026-06-03 22:13:13 +02:00
parent 3ca4c30f73
commit 6bc37841a9
+3 -3
View File
@@ -98,15 +98,15 @@ class AddressBookTest():
# request (partially) out of range
ok = False
try: res = wallet.get_address_book[4, 2]
try: res = wallet.get_address_book([4, 2])
except: ok = True
assert ok
ok = False
try: res = wallet.get_address_book[0, 2]
try: res = wallet.get_address_book([0, 2])
except: ok = True
assert ok
ok = False
try: res = wallet.get_address_book[2, 0]
try: res = wallet.get_address_book([2, 0])
except: ok = True
assert ok