From 33c3e2e4041f22b486327ae0bb96b0351adc16ba Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 24 Jan 2016 19:30:14 +0100 Subject: [PATCH] pythonPackages.xarray: fix test runner --- pkgs/top-level/python-packages.nix | 4 ++++ 1 file changed, 4 insertions(+) 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;