about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-03-24 17:07:01 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-03-27 18:35:09 +0100
commit9d9885e9491e1375f48fdb21880c38a6b2676271 (patch)
treeeb7d4c1a2b17710a1c1a937516d7d47afaaf6b9e /pkgs
parentc7eb0179e32e2a416bac2ef3e59cb85b982d2584 (diff)
python311Packages.torchsde: test with pytest_7
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/torchsde/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/torchsde/default.nix b/pkgs/development/python-modules/torchsde/default.nix
index bffbeeaa2c970..66e23a594f91f 100644
--- a/pkgs/development/python-modules/torchsde/default.nix
+++ b/pkgs/development/python-modules/torchsde/default.nix
@@ -13,7 +13,7 @@
 , trampoline
 
 # tests
-, pytestCheckHook
+, pytest7CheckHook
 }:
 
 buildPythonPackage rec {
@@ -49,11 +49,7 @@ buildPythonPackage rec {
   pythonImportsCheck = [ "torchsde" ];
 
   nativeCheckInputs = [
-    pytestCheckHook
-  ];
-
-  pytestFlagsArray = [
-    "-W" "ignore::pytest.PytestRemovedIn8Warning"
+    pytest7CheckHook
   ];
 
   disabledTests = [