diff options
| author | tobtoht <tob@featherwallet.org> | 2026-06-09 17:53:12 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2026-06-09 17:53:12 +0000 |
| commit | 4fd6c64209af750554318deeb950490ac2083154 (patch) | |
| tree | 9d83325e7337cd4f868723f303a4d7a6bde3054c /tests | |
| parent | 3bc1fae6368ee0550b4465dcafce6733d0b86bae (diff) | |
| parent | 6bc37841a9523cadf144034376b7a79d69e55a21 (diff) | |
| download | monzero-core-4fd6c64209af750554318deeb950490ac2083154.tar.gz monzero-core-4fd6c64209af750554318deeb950490ac2083154.tar.xz monzero-core-4fd6c64209af750554318deeb950490ac2083154.zip | |
Merge pull request #10712
6bc3784 fix: TypeError: 'method' object is not subscriptable (SNeedlewoods)
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/functional_tests/address_book.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional_tests/address_book.py b/tests/functional_tests/address_book.py index 396ce505e..a315a1cdc 100755 --- a/tests/functional_tests/address_book.py +++ b/tests/functional_tests/address_book.py @@ -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 |
