Skip to content

Commit 2a3adb4

Browse files
committed
Remove some pytest output, and some unnecessary Electrum v2 validity tests
1 parent 7d507d5 commit 2a3adb4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export PYTHON ?= $(shell python3 --version >/dev/null 2>&1 && echo python3 || e
1616
PYTHON_V = $(shell $(PYTHON) -c "import sys; print('-'.join((('venv' if sys.prefix != sys.base_prefix else next(iter(filter(None,sys.base_prefix.split('/'))))),sys.platform,sys.implementation.cache_tag)))" 2>/dev/null )
1717

1818
export PYTEST ?= $(PYTHON) -m pytest
19-
export PYTEST_OPTS ?= -vv --capture=no
19+
export PYTEST_OPTS ?= # -vv --capture=no
2020

2121

2222
VERSION = $(shell $(PYTHON) -c "exec(open('hdwallet/info.py').read()); print(__version__[1:])" )

hdwallet/mnemonics/electrum/v2/mnemonic.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,6 @@ def decode(
345345
if len(words) not in cls.words_list:
346346
raise MnemonicError("Invalid mnemonic words count", expected=cls.words_list, got=len(words))
347347

348-
# if not cls.is_valid(mnemonic, language=language, mnemonic_type=mnemonic_type):
349-
# raise MnemonicError(f"Invalid {mnemonic_type} mnemonic type words")
350-
351348
words_list_with_index, language = cls.find_language(mnemonic=words, language=language)
352349
if len(words_list_with_index) != cls.words_list_number:
353350
raise Error(

0 commit comments

Comments
 (0)