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
1 changed files with 2 additions and 9 deletions

View File

@ -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"