From 4b65f859c945b699e1ba91c62b6eb464ec314892 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Thu, 27 Feb 2020 12:49:44 -0500 Subject: [PATCH] pythonPackages.pytest-lazy-fixture: use pytestCheckHook --- .../python-modules/pytest-lazy-fixture/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pytest-lazy-fixture/default.nix b/pkgs/development/python-modules/pytest-lazy-fixture/default.nix index 779b710f92b..2b9c57b99d8 100644 --- a/pkgs/development/python-modules/pytest-lazy-fixture/default.nix +++ b/pkgs/development/python-modules/pytest-lazy-fixture/default.nix @@ -1,7 +1,7 @@ { lib , buildPythonPackage , fetchPypi -, pytest +, pytestCheckHook }: buildPythonPackage rec { @@ -14,13 +14,9 @@ buildPythonPackage rec { }; checkInputs = [ - pytest + pytestCheckHook ]; - checkPhase = '' - pytest - ''; - meta = with lib; { description = "Helps to use fixtures in pytest.mark.parametrize"; homepage = "https://github.com/pytest-dev/pytest-repeat";