From 7b4532fb7de02e928fc5569b735f2606d74b488b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 17 Mar 2024 23:23:46 +0100 Subject: [PATCH] python311Packages.torchsde: suppress pytest8 warnings --- pkgs/development/python-modules/torchsde/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/torchsde/default.nix b/pkgs/development/python-modules/torchsde/default.nix index ba7b2e923612..bffbeeaa2c97 100644 --- a/pkgs/development/python-modules/torchsde/default.nix +++ b/pkgs/development/python-modules/torchsde/default.nix @@ -52,6 +52,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "-W" "ignore::pytest.PytestRemovedIn8Warning" + ]; + disabledTests = [ # RuntimeError: a view of a leaf Variable that requires grad is being used in an in-place operation. "test_adjoint"