about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-lazy-fixture
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2020-02-27 12:49:44 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2020-02-27 12:49:44 -0500
commit4b65f859c945b699e1ba91c62b6eb464ec314892 (patch)
treecab17c638495eb9318c9d273c84b45745d2332b7 /pkgs/development/python-modules/pytest-lazy-fixture
parent5ddadce27b98fc52c4ba82432513d8f38106b178 (diff)
pythonPackages.pytest-lazy-fixture: use pytestCheckHook
Diffstat (limited to 'pkgs/development/python-modules/pytest-lazy-fixture')
-rw-r--r--pkgs/development/python-modules/pytest-lazy-fixture/default.nix8
1 files 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 779b710f92ba2..2b9c57b99d8a0 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";