python312Packages.serpent: test with pytest

This commit is contained in:
Martin Weinelt
2024-08-06 18:18:40 +02:00
parent 102305ea0b
commit 976cb96fe0
@@ -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";