python311Packages.hid-parser: test with pytest 7

This commit is contained in:
Martin Weinelt 2024-03-24 22:04:18 +01:00
parent 91b95f5b1e
commit 4607bde202
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, setuptools , setuptools
, pytestCheckHook , pytest7CheckHook
, hypothesis , hypothesis
}: }:
@ -21,14 +21,10 @@ buildPythonPackage rec {
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytest7CheckHook
hypothesis hypothesis
]; ];
pytestFlagsArray = [
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
pythonImportsCheck = [ "hid_parser" ]; pythonImportsCheck = [ "hid_parser" ];
meta = with lib; { meta = with lib; {