about summary refs log tree commit diff
path: root/pkgs/development/python-modules/scipy
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-03-09 13:37:49 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-03-12 18:25:07 +0100
commit410c46e1648990c0fb36083347433b0e1aa45e52 (patch)
tree0fe35af9bc73231c55cb8d65c6e93757f5325cd7 /pkgs/development/python-modules/scipy
parent9c296323aba602fcd22982c70d7dea695cf7ab50 (diff)
python311Packages.scipy: test with pytest_7
With pytest 8 the testsuite fails to raise expected exceptions.
Diffstat (limited to 'pkgs/development/python-modules/scipy')
-rw-r--r--pkgs/development/python-modules/scipy/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix
index b2a58d71c0b1d..d630767c3c689 100644
--- a/pkgs/development/python-modules/scipy/default.nix
+++ b/pkgs/development/python-modules/scipy/default.nix
@@ -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
   ];