Skip to content

Commit 63a9fc5

Browse files
committed
parametrized sets -> ordered list so we can run with xdist
1 parent 7fe8e01 commit 63a9fc5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/core/test_mnemonic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def test_expand_word():
8989

9090
@pytest.mark.parametrize(
9191
"lang",
92-
{
92+
[
9393
Language(lang)
9494
for lang in Mnemonic.list_languages()
9595
if lang
@@ -100,7 +100,7 @@ def test_expand_word():
100100
"chinese_simplified",
101101
"chinese_traditional",
102102
)
103-
},
103+
],
104104
)
105105
def test_expand(lang):
106106
m = Mnemonic(lang)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ max_issue_threshold=1
1818

1919
[testenv]
2020
commands=
21-
core: coverage run -m pytest {posargs:tests/core}
21+
core: coverage run -m pytest -n auto --maxprocesses=4 {posargs:tests/core}
2222
core: coverage report
2323
integration: pytest {posargs:tests/integration}
2424
docs: make check-docs-ci

0 commit comments

Comments
 (0)