Skip to content

Commit

Permalink
pythonPackages.ftputil: fix build
Browse files Browse the repository at this point in the history
Some tests assume execution before 2020.
  • Loading branch information
KamilaBorowska authored and FRidh committed Mar 29, 2020
1 parent d2702c9 commit cfb4357
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/ftputil/default.nix
Expand Up @@ -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; {
Expand Down

0 comments on commit cfb4357

Please sign in to comment.