python312Packages.serpent: test with pytest

This commit is contained in:
Martin Weinelt 2024-07-30 04:21:26 +02:00
parent 102305ea0b
commit 976cb96fe0
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -2,11 +2,11 @@
lib,
buildPythonPackage,
fetchPypi,
python,
isPy27,
enum34,
attrs,
pytz,
pytestCheckHook,
}:
buildPythonPackage rec {
@ -24,10 +24,8 @@ buildPythonPackage rec {
nativeCheckInputs = [
attrs
pytz
pytestCheckHook
];
checkPhase = ''
${python.interpreter} setup.py test
'';
meta = with lib; {
description = "Simple serialization library based on ast.literal_eval";