python311Packages.scipy: test with pytest_7

With pytest 8 the testsuite fails to raise expected exceptions.
This commit is contained in:
Martin Weinelt
2024-03-12 18:25:07 +01:00
parent 9c296323ab
commit 410c46e164
@@ -17,6 +17,7 @@
, setuptools
, hypothesis
, pytestCheckHook
, pytest_7
, pytest-xdist
, numpy
, pybind11
@@ -117,7 +118,8 @@ in buildPythonPackage {
nativeCheckInputs = [
nose
hypothesis
pytestCheckHook
# Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted.
(pytestCheckHook.override { pytest = pytest_7; })
pytest-xdist
];