summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-utils
diff options
context:
space:
mode:
authorDrew Risinger <drewrisinger@users.noreply.github.com>2020-12-11 09:22:46 -0500
committerDrew Risinger <drewrisinger@users.noreply.github.com>2020-12-11 09:22:46 -0500
commit539d6cf79ab1e94677bdc4d2953f0affdd739874 (patch)
tree516d1da6285270d3fe2b6b3c4132297df5bf6fba /pkgs/development/python-modules/python-utils
parent86be4c0005f0f761c89553726a0da72a85c64fe0 (diff)
pythonPackages.python-utils: convert to pytestCheckHook
Diffstat (limited to 'pkgs/development/python-modules/python-utils')
-rw-r--r--pkgs/development/python-modules/python-utils/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/python-utils/default.nix b/pkgs/development/python-modules/python-utils/default.nix
index f94ec8d751cf..60160d270b75 100644
--- a/pkgs/development/python-modules/python-utils/default.nix
+++ b/pkgs/development/python-modules/python-utils/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pytestcov, pytest-flakes, sphinx, six }:
+{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytestrunner, pytestcov, pytest-flakes, sphinx, six }:
buildPythonPackage rec {
pname = "python-utils";
@@ -15,11 +15,7 @@ buildPythonPackage rec {
substituteInPlace pytest.ini --replace "--pep8" ""
'';
- checkInputs = [ pytest pytestrunner pytestcov pytest-flakes sphinx ];
-
- checkPhase = ''
- py.test tests
- '';
+ checkInputs = [ pytestCheckHook pytestrunner pytestcov pytest-flakes sphinx ];
propagatedBuildInputs = [ six ];