fix: TypeError: 'method' object is not subscriptable

(cherry picked from commit 6bc37841a9523cadf144034376b7a79d69e55a21)
This commit is contained in:
SNeedlewoods
2026-10-04 18:50:20 -04:00
committed by such-gitea
parent d894ac3ba6
commit 99d0c33dde
+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