about summary refs log tree commit diff
path: root/pkgs/development/python-modules/arrow
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-06-07 15:38:16 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-06-11 10:00:26 +0200
commit0a344f99e0889c60134ee9592e237db5dcd361e1 (patch)
treeb90b8070b6ebe64f611d1e90841e1538bdc0a4d7 /pkgs/development/python-modules/arrow
parent6d863b2c989f8fdf14cce66b37a4b3b117eb1e11 (diff)
python.pkgs.arrow: disable failing test
Diffstat (limited to 'pkgs/development/python-modules/arrow')
-rw-r--r--pkgs/development/python-modules/arrow/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/arrow/default.nix b/pkgs/development/python-modules/arrow/default.nix
index 4fdf55bc2bd3f..60a9572f1c8e4 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";