From cfb435732a6360a75b93dd9718d5b86ae6bf9f8c Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Sun, 29 Mar 2020 13:21:25 +0200 Subject: [PATCH] pythonPackages.ftputil: fix build Some tests assume execution before 2020. --- pkgs/development/python-modules/ftputil/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ftputil/default.nix b/pkgs/development/python-modules/ftputil/default.nix index d3d338a2c8d34a..5e367644a1c8d3 100644 --- a/pkgs/development/python-modules/ftputil/default.nix +++ b/pkgs/development/python-modules/ftputil/default.nix @@ -13,10 +13,11 @@ buildPythonPackage rec { checkPhase = '' touch Makefile - # Disable tests that require network access or access /home + # Disable tests that require network access or access /home or assume execution before year 2020 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_set_parser and not test_repr \ + and not test_conditional_upload and not test_conditional_download_with_older_target" ''; meta = with lib; {