diff --git a/pkgs/development/python-modules/bottleneck/default.nix b/pkgs/development/python-modules/bottleneck/default.nix index c9ca8f7ec047..c4db013ea34d 100644 --- a/pkgs/development/python-modules/bottleneck/default.nix +++ b/pkgs/development/python-modules/bottleneck/default.nix @@ -1,6 +1,7 @@ { buildPythonPackage , fetchPypi , nose +, pytest , numpy , python }: @@ -15,10 +16,10 @@ buildPythonPackage rec { sha256 = "6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36"; }; - checkInputs = [ nose ]; + checkInputs = [ pytest nose ]; propagatedBuildInputs = [ numpy ]; checkPhase = '' - nosetests -v $out/${python.sitePackages} + py.test -p no:warnings $out/${python.sitePackages} ''; postPatch = '' substituteInPlace setup.py --replace "__builtins__.__NUMPY_SETUP__ = False" ""