mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
pythonPackages.ftputil: fix build
Some tests assume execution before 2020.
(cherry picked from commit cfb435732a)
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user