diff --git a/mypy-exclusions.txt b/mypy-exclusions.txt index 3cd7afc7430f..366e79a0ccc6 100644 --- a/mypy-exclusions.txt +++ b/mypy-exclusions.txt @@ -109,7 +109,6 @@ tests.wallet.did_wallet.test_did tests.wallet.rpc.test_wallet_rpc tests.wallet.simple_sync.test_simple_sync_protocol tests.wallet.sync.test_wallet_sync -tests.wallet.test_bech32m tests.wallet.test_chialisp tests.wallet.test_puzzle_store tests.wallet.test_singleton diff --git a/tests/wallet/test_bech32m.py b/tests/wallet/test_bech32m.py index 3af3e51f5070..07e4a89d1771 100644 --- a/tests/wallet/test_bech32m.py +++ b/tests/wallet/test_bech32m.py @@ -6,7 +6,7 @@ from __future__ import annotations from chia.util.bech32m import bech32_decode -def test_valid_imports(): +def test_valid_imports() -> None: test_strings = [ "A1LQFN3A", "a1lqfn3a", @@ -18,11 +18,11 @@ def test_valid_imports(): "?1v759aa", ] for test_str in test_strings: - hrp, data = bech32_decode(test_str) + _, data = bech32_decode(test_str) assert data is not None -def test_invalid_imports(): +def test_invalid_imports() -> None: test_strings = [ f"{0x20}1xj0phk", f"{0x7F}1g6xzxy", @@ -41,5 +41,5 @@ def test_invalid_imports(): "1p2gdwpf", ] for test_str in test_strings: - hrp, data = bech32_decode(test_str) + _, data = bech32_decode(test_str) assert data is None