python311Packages.cssutils: test with pytest 7

This commit is contained in:
Martin Weinelt 2024-03-24 21:10:56 +01:00
parent 41aace96d2
commit 0781e7f976
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,8 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, pythonAtLeast
, pythonOlder , pythonOlder
, fetchpatch
, fetchPypi , fetchPypi
, setuptools , setuptools
, setuptools-scm , setuptools-scm
@ -10,7 +8,7 @@
, jaraco-test , jaraco-test
, lxml , lxml
, mock , mock
, pytestCheckHook , pytest7CheckHook
, importlib-resources , importlib-resources
}: }:
@ -37,16 +35,11 @@ buildPythonPackage rec {
jaraco-test jaraco-test
lxml lxml
mock mock
pytestCheckHook pytest7CheckHook
] ++ lib.optionals (pythonOlder "3.9") [ ] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources importlib-resources
]; ];
pytestFlagsArray = [
# pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
disabledTests = [ disabledTests = [
# access network # access network
"test_parseUrl" "test_parseUrl"