diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-24 17:07:01 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-27 18:35:09 +0100 |
commit | 9d9885e9491e1375f48fdb21880c38a6b2676271 (patch) | |
tree | eb7d4c1a2b17710a1c1a937516d7d47afaaf6b9e /pkgs/development | |
parent | c7eb0179e32e2a416bac2ef3e59cb85b982d2584 (diff) |
python311Packages.torchsde: test with pytest_7
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/torchsde/default.nix | 8 |
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 = [ |