python311PAckages.detect-secrets: test with pytest 7

This commit is contained in:
Martin Weinelt 2024-03-24 21:05:24 +01:00
parent 312523f9f5
commit 41aace96d2
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 @@
, mock
, pkgs
, pyahocorasick
, pytestCheckHook
, pytest7CheckHook
, pythonOlder
, pyyaml
, requests
@ -37,17 +37,12 @@ buildPythonPackage rec {
nativeCheckInputs = [
mock
pytestCheckHook
pytest7CheckHook
responses
unidiff
pkgs.gitMinimal
];
pytestFlagsArray = [
# Pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
preCheck = ''
export HOME=$(mktemp -d);
'';