From 335f55a7bf07fe9d4634dccf707a659bfd978144 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 27 Oct 2022 17:31:27 +0000 Subject: [PATCH] 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 https://github.com/pytest-dev/pytest/blob/646a46e5f4b1f1ae5a06dcbc91fcdebfc235a28a/doc/en/changelog.rst#pytest-720-2022-10-23 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index e79162867..f36336f92 100644 --- a/tox.ini +++ b/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