From 0a344f99e0889c60134ee9592e237db5dcd361e1 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 7 Jun 2020 15:38:16 +0200 Subject: [PATCH] python.pkgs.arrow: disable failing test --- pkgs/development/python-modules/arrow/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/arrow/default.nix b/pkgs/development/python-modules/arrow/default.nix index 4fdf55bc2bd3..60a9572f1c8e 100644 --- a/pkgs/development/python-modules/arrow/default.nix +++ b/pkgs/development/python-modules/arrow/default.nix @@ -1,6 +1,7 @@ { stdenv, lib, buildPythonPackage, fetchPypi, isPy27 , nose, chai, simplejson, backports_functools_lru_cache -, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov, pytest +, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov +, pytestCheckHook }: buildPythonPackage rec { @@ -17,7 +18,7 @@ buildPythonPackage rec { checkInputs = [ dateparser - pytest + pytestCheckHook pytestcov pytest-mock pytz @@ -25,9 +26,10 @@ buildPythonPackage rec { sphinx ]; - checkPhase = '' - pytest - ''; + # ParserError: Could not parse timezone expression "America/Nuuk" + disabledTests = [ + "test_parse_tz_name_zzz" + ]; meta = with lib; { description = "Python library for date manipulation";