From 8886e0ffa0c6cd17632feb8e33b103de2dff3574 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 31 Mar 2016 20:50:28 +0200 Subject: [PATCH] pythonPackages.pandas: fix tests --- pkgs/top-level/python-packages.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ed7bc8ca825..44f62fd6150 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14973,18 +14973,17 @@ in modules // { # The flag `-A 'not network'` will disable tests that use internet. # The `-e` flag disables a few problematic tests. - # https://github.com/pydata/pandas/issues/11169 - # https://github.com/pydata/pandas/issues/11287 - # The test_sql checks fail specifically on python 3.5; see here: - # https://github.com/pydata/pandas/issues/11112 + + # Disable two tests that are broken since numpy 1.11. Fixed upstream. + checkPhase = let - testsToSkip = []; + testsToSkip = [ "test_range_slice_day" "test_range_slice_seconds" ]; in '' runHook preCheck # The flag `-A 'not network'` will disable tests that use internet. # The `-e` flag disables a few problematic tests. - ${python.executable} setup.py nosetests -A 'not slow and not network' \ - --verbosity=3 + ${python.executable} setup.py nosetests -A 'not slow and not network' --stop \ + -e '${concatStringsSep "|" testsToSkip}' --verbosity=3 runHook postCheck '';