python311Packages.cssutils: test with pytest 7
This commit is contained in:
parent
41aace96d2
commit
0781e7f976
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user