diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2020-10-21 18:28:46 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2020-10-23 12:57:30 +0200 |
commit | d42f23d4ced57d3377ab9cf91a6d12ff896f27b3 (patch) | |
tree | 0cda30bfe937a42a90f4478bfb8d5583172353b3 /pkgs/development/python-modules | |
parent | 283f53073bb1a5ba601d5d256485170741733cd7 (diff) | |
download | nixpkgs-d42f23d4ced57d3377ab9cf91a6d12ff896f27b3.tar nixpkgs-d42f23d4ced57d3377ab9cf91a6d12ff896f27b3.tar.gz nixpkgs-d42f23d4ced57d3377ab9cf91a6d12ff896f27b3.tar.bz2 nixpkgs-d42f23d4ced57d3377ab9cf91a6d12ff896f27b3.tar.lz nixpkgs-d42f23d4ced57d3377ab9cf91a6d12ff896f27b3.tar.xz nixpkgs-d42f23d4ced57d3377ab9cf91a6d12ff896f27b3.tar.zst nixpkgs-d42f23d4ced57d3377ab9cf91a6d12ff896f27b3.zip |
python3Packages: fix tests on darwin
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/ftputil/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/ftputil/default.nix b/pkgs/development/python-modules/ftputil/default.nix index fb1bf7549fc..f38f5d74097 100644 --- a/pkgs/development/python-modules/ftputil/default.nix +++ b/pkgs/development/python-modules/ftputil/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder, pytest, freezegun }: +{ stdenv, lib, buildPythonPackage, fetchPypi, pythonOlder, pytest, freezegun }: buildPythonPackage rec { version = "4.0.0"; @@ -18,12 +18,15 @@ buildPythonPackage rec { py.test test \ -k "not test_public_servers and not test_real_ftp \ and not test_set_parser and not test_repr \ - and not test_conditional_upload and not test_conditional_download_with_older_target" - ''; + and not test_conditional_upload and not test_conditional_download_with_older_target \ + '' + # need until https://ftputil.sschwarzer.net/trac/ticket/140#ticket is fixed + + lib.optionalString stdenv.isDarwin ''and not test_error_message_reuse'' + + ''"''; meta = with lib; { description = "High-level FTP client library (virtual file system and more)"; - homepage = "http://ftputil.sschwarzer.net/"; - license = licenses.bsd2; # "Modified BSD license, says pypi" + homepage = "http://ftputil.sschwarzer.net/"; + license = licenses.bsd2; # "Modified BSD license, says pypi" }; } |