From 976cb96fe0e7a601f6ac322e9404bfa6466e7306 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 30 Jul 2024 04:21:26 +0200 Subject: [PATCH] python312Packages.serpent: test with pytest --- pkgs/development/python-modules/serpent/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/serpent/default.nix b/pkgs/development/python-modules/serpent/default.nix index 529eb8bfdfeb..f6ddf5540703 100644 --- a/pkgs/development/python-modules/serpent/default.nix +++ b/pkgs/development/python-modules/serpent/default.nix @@ -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";