diff --git a/pkgs/development/python-modules/python-nvd3/default.nix b/pkgs/development/python-modules/python-nvd3/default.nix index a293ee90d157..df05468d009b 100644 --- a/pkgs/development/python-modules/python-nvd3/default.nix +++ b/pkgs/development/python-modules/python-nvd3/default.nix @@ -5,7 +5,7 @@ python-slugify, jinja2, setuptools, - coverage, + pytestCheckHook, }: buildPythonPackage rec { @@ -25,11 +25,10 @@ buildPythonPackage rec { jinja2 setuptools ]; - nativeCheckInputs = [ coverage ]; - checkPhase = '' - coverage run --source=nvd3 setup.py test - ''; + nativeCheckInputs = [ pytestCheckHook ]; + + pytestFlagsArray = [ "tests.py" ]; meta = with lib; { homepage = "https://github.com/areski/python-nvd3";