diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2018-06-27 21:43:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 21:43:04 +0200 |
commit | fd6830274156d6613ec053108fa4cc8ee8efead3 (patch) | |
tree | b593e09ee0eaa2482712fcc588da9d489a72b399 | |
parent | b96c0e6d7b57cdc9caaf6f4fae8e1ab0dfec11cd (diff) | |
parent | 3dd8b03da9e6def049d81a8e9fbdf482e8acc877 (diff) | |
download | nixpkgs-fd6830274156d6613ec053108fa4cc8ee8efead3.tar nixpkgs-fd6830274156d6613ec053108fa4cc8ee8efead3.tar.gz nixpkgs-fd6830274156d6613ec053108fa4cc8ee8efead3.tar.bz2 nixpkgs-fd6830274156d6613ec053108fa4cc8ee8efead3.tar.lz nixpkgs-fd6830274156d6613ec053108fa4cc8ee8efead3.tar.xz nixpkgs-fd6830274156d6613ec053108fa4cc8ee8efead3.tar.zst nixpkgs-fd6830274156d6613ec053108fa4cc8ee8efead3.zip |
Merge pull request #42667 from xvapx/PR/fix-pythonPackages.flask-restful
pythonPackages.flask-restful: disable broken test
-rw-r--r-- | pkgs/development/python-modules/flask-restful/default.nix | 4 |
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 c54c015af12..ec7e65aa4e4 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"; |