From 429aff605527ad9a78140f97ee11e9cd306d6bb4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Apr 2023 09:47:31 +0200 Subject: [PATCH] python310Packages.et_xmlfile: move to pytestCheckHook --- pkgs/development/python-modules/et_xmlfile/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/et_xmlfile/default.nix b/pkgs/development/python-modules/et_xmlfile/default.nix index 88028bae07e3..f09d0042003a 100644 --- a/pkgs/development/python-modules/et_xmlfile/default.nix +++ b/pkgs/development/python-modules/et_xmlfile/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchPypi , lxml -, pytest +, pytestCheckHook , pythonOlder }: @@ -21,13 +21,9 @@ buildPythonPackage rec { nativeCheckInputs = [ lxml - pytest + pytestCheckHook ]; - checkPhase = '' - py.test $out - ''; - pythonImportsCheck = [ "et_xmlfile" ];