From 95f00d82f7ee7c8ef337ccdf5b732162d1ff46bd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 24 Mar 2024 23:34:32 +0100 Subject: [PATCH] python311Packages.librouteros: test with pytest 7 --- pkgs/development/python-modules/librouteros/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/librouteros/default.nix b/pkgs/development/python-modules/librouteros/default.nix index 5bb2072b7117..5ba5f86aab10 100644 --- a/pkgs/development/python-modules/librouteros/default.nix +++ b/pkgs/development/python-modules/librouteros/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchFromGitHub , pytest-xdist -, pytestCheckHook +, pytest7CheckHook , pythonOlder , setuptools }: @@ -27,12 +27,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-xdist - pytestCheckHook - ]; - - pytestFlagsArray = [ - # pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. - "-W" "ignore::pytest.PytestRemovedIn8Warning" + pytest7CheckHook ]; disabledTests = [