diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5db05eb5964e..ea06706417cb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -21525,6 +21525,10 @@ in modules // { buildInputs = with self; [ pytest ]; propagatedBuildInputs = with self; [numpy pandas]; + checkPhase = '' + py.test $out/${python.sitePackages} + ''; + meta = { description = "N-D labeled arrays and datasets in Python"; homepage = https://github.com/pydata/xarray;