mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
pythonPackages.ftputil: fix build
Some tests assume execution before 2020.
This commit is contained in:
parent
d2702c915f
commit
cfb435732a
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user