summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMarti Serra <marti.serra.coscollano@gmail.com>2018-06-27 20:55:00 +0200
committerMarti Serra <marti.serra.coscollano@gmail.com>2018-06-27 21:39:20 +0200
commit3dd8b03da9e6def049d81a8e9fbdf482e8acc877 (patch)
tree3b352cb86dcfff91bae434b0534503e1a4e1a5af /pkgs
parent5ac6ab091a4883385e68571425fb7fef4d74c207 (diff)
downloadnixlib-3dd8b03da9e6def049d81a8e9fbdf482e8acc877.tar
nixlib-3dd8b03da9e6def049d81a8e9fbdf482e8acc877.tar.gz
nixlib-3dd8b03da9e6def049d81a8e9fbdf482e8acc877.tar.bz2
nixlib-3dd8b03da9e6def049d81a8e9fbdf482e8acc877.tar.lz
nixlib-3dd8b03da9e6def049d81a8e9fbdf482e8acc877.tar.xz
nixlib-3dd8b03da9e6def049d81a8e9fbdf482e8acc877.tar.zst
nixlib-3dd8b03da9e6def049d81a8e9fbdf482e8acc877.zip
pythonPackages.flask-restful: disable broken test
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/flask-restful/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flask-restful/default.nix b/pkgs/development/python-modules/flask-restful/default.nix
index c54c015af123..ec7e65aa4e43 100644
--- a/pkgs/development/python-modules/flask-restful/default.nix
+++ b/pkgs/development/python-modules/flask-restful/default.nix
@@ -17,6 +17,10 @@ buildPythonPackage rec {
   patchPhase = if isPy3k then ''
     rm tests/test_crypto.py tests/test_paging.py
     '' else null;
+# Disable test broken with aniso > 3.0.0, can be removed when updating to a flask-restful version with commit 54979f0
+  preCheck = ''
+  substituteInPlace "./tests/test_inputs.py" --replace "test_bad_isointervals" "disabled_bad_isointervals"
+  '';
   buildInputs = [ nose mock blinker ];
   propagatedBuildInputs = [ flask six pytz aniso8601 pycrypto ];
   PYTHON_EGG_CACHE = "`pwd`/.egg-cache";