fix tests for new pytest (py.test -> pytest)
looks like latest pytest (7.2.0) removed support for the old py.test module/namespace
see 646a46e5f4/doc/en/changelog.rst (pytest-720-2022-10-23)
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -5,7 +5,7 @@ deps=
|
|||||||
pytest
|
pytest
|
||||||
coverage
|
coverage
|
||||||
commands=
|
commands=
|
||||||
coverage run --source=electrum '--omit=electrum/gui/*,electrum/plugins/*,electrum/scripts/*,electrum/tests/*' -m py.test -v
|
coverage run --source=electrum '--omit=electrum/gui/*,electrum/plugins/*,electrum/scripts/*,electrum/tests/*' -m pytest -v
|
||||||
coverage report
|
coverage report
|
||||||
extras=
|
extras=
|
||||||
tests
|
tests
|
||||||
|
|||||||
Reference in New Issue
Block a user