python311Packages.demes: test with pytest 7

This commit is contained in:
Martin Weinelt 2024-03-24 21:16:18 +01:00
parent ccaa2b9ff3
commit a4c2f399b8
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 2 additions and 7 deletions

View File

@ -5,7 +5,7 @@
, ruamel-yaml
, attrs
, pythonOlder
, pytestCheckHook
, pytest7CheckHook
, pytest-xdist
, numpy
}:
@ -36,16 +36,11 @@ buildPythonPackage rec {
'';
nativeCheckInputs = [
pytestCheckHook
pytest7CheckHook
pytest-xdist
numpy
];
pytestFlagsArray = [
# pytest.PytestRemovedIn8Warning: Passing None has been deprecated.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
disabledTestPaths = [
"tests/test_spec.py"
];