From 0781e7f976515487b476ccb04f4e5b64ccdafc0e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 24 Mar 2024 21:10:56 +0100 Subject: [PATCH] python311Packages.cssutils: test with pytest 7 --- pkgs/development/python-modules/cssutils/default.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/cssutils/default.nix b/pkgs/development/python-modules/cssutils/default.nix index 10f62f29280c..911895d49d6a 100644 --- a/pkgs/development/python-modules/cssutils/default.nix +++ b/pkgs/development/python-modules/cssutils/default.nix @@ -1,8 +1,6 @@ { lib , buildPythonPackage -, pythonAtLeast , pythonOlder -, fetchpatch , fetchPypi , setuptools , setuptools-scm @@ -10,7 +8,7 @@ , jaraco-test , lxml , mock -, pytestCheckHook +, pytest7CheckHook , importlib-resources }: @@ -37,16 +35,11 @@ buildPythonPackage rec { jaraco-test lxml mock - pytestCheckHook + pytest7CheckHook ] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ]; - pytestFlagsArray = [ - # pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. - "-W" "ignore::pytest.PytestRemovedIn8Warning" - ]; - disabledTests = [ # access network "test_parseUrl"