Browse Source

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)
patch-4
SomberNight 2 years ago
parent
commit
335f55a7bf
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      tox.ini

2
tox.ini

@ -5,7 +5,7 @@ deps=
pytest
coverage
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
extras=
tests

Loading…
Cancel
Save