From c1dea51fa169cbe8b8f78ac43bc86bb5b3d88be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 28 Aug 2017 11:00:26 +0100 Subject: [PATCH] pandas: fix dateutil tests --- pkgs/development/python-modules/pandas/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix index ca3f20d7ca3e..7bab184bb2a0 100644 --- a/pkgs/development/python-modules/pandas/default.nix +++ b/pkgs/development/python-modules/pandas/default.nix @@ -76,8 +76,13 @@ in buildPythonPackage rec { chmod a+x pbcopy pbpaste export PATH=$(pwd):$PATH '' + '' + # since dateutil 0.6.0 the following fails: test_fallback_plural, test_ambiguous_flags, test_ambiguous_compat + # was supposed to be solved by https://github.com/dateutil/dateutil/issues/321, but is not the case py.test $out/${python.sitePackages}/pandas --skip-slow --skip-network \ - ${if isDarwin then "-k 'not test_locale and not test_clipboard'" else ""} + -k "not test_fallback_plural and \ + not test_ambiguous_flags and \ + not test_ambiguous_compat \ + ${optionalString isDarwin "and not test_locale and not test_clipboard"}" runHook postCheck '';