summary refs log tree commit diff
path: root/pkgs/development/python-modules/pandas
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-04-18 09:44:33 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-04-18 11:33:22 +0200
commit7fa72a7602a498ffe01a8af28e2fa38cfb4c99ab (patch)
treecde26f806021d21169efbb465f7b1c1c507bf071 /pkgs/development/python-modules/pandas
parenta9cbac6322e0b7c0795dc9633b861ee68761ebe8 (diff)
downloadnixpkgs-7fa72a7602a498ffe01a8af28e2fa38cfb4c99ab.tar
nixpkgs-7fa72a7602a498ffe01a8af28e2fa38cfb4c99ab.tar.gz
nixpkgs-7fa72a7602a498ffe01a8af28e2fa38cfb4c99ab.tar.bz2
nixpkgs-7fa72a7602a498ffe01a8af28e2fa38cfb4c99ab.tar.lz
nixpkgs-7fa72a7602a498ffe01a8af28e2fa38cfb4c99ab.tar.xz
nixpkgs-7fa72a7602a498ffe01a8af28e2fa38cfb4c99ab.tar.zst
nixpkgs-7fa72a7602a498ffe01a8af28e2fa38cfb4c99ab.zip
pythonPackages.pandas: minor fixes tests
Diffstat (limited to 'pkgs/development/python-modules/pandas')
-rw-r--r--pkgs/development/python-modules/pandas/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix
index 21a7755c409..212a382a4b0 100644
--- a/pkgs/development/python-modules/pandas/default.nix
+++ b/pkgs/development/python-modules/pandas/default.nix
@@ -56,7 +56,7 @@ in buildPythonPackage rec {
 
   # For OSX, we need to add a dependency on libcxx, which provides
   # `complex.h` and other libraries that pandas depends on to build.
-  patchPhase = optionalString isDarwin ''
+  postPatch = optionalString isDarwin ''
     cpp_sdk="${libcxx}/include/c++/v1";
     echo "Adding $cpp_sdk to the setup.py common_include variable"
     substituteInPlace setup.py \
@@ -71,12 +71,11 @@ in buildPythonPackage rec {
 
   # The flag `-A 'not network'` will disable tests that use internet.
   # The `-e` flag disables a few problematic tests.
-
   checkPhase = ''
     runHook preCheck
     # The flag `-w` provides the initial directory to search for tests.
     # The flag `-A 'not network'` will disable tests that use internet.
-    nosetests -w $out/${python.sitePackages}/pandas --no-path-adjustment -A 'not slow and not network' --stop \
+    nosetests -w $out/${python.sitePackages}/pandas --no-path-adjustment -A 'not slow and not network' \
       --verbosity=3
      runHook postCheck
   '';