pythonPackages.requests-toolbelt: disable time-dependant tests

Tests include certificates and fail because they are expired.

Upstream issue exists but has been ignored: https://github.com/requests/toolbelt/issues/306

closes #147776

(cherry picked from commit 62df72857c)
This commit is contained in:
Jamie McClymont
2021-11-30 20:34:17 +13:00
committed by Jonathan Ringer
parent 31f7491819
commit ff17a0fffe

View File

@@ -24,7 +24,9 @@ buildPythonPackage rec {
# disabled tests access the network
py.test tests -k "not test_no_content_length_header \
and not test_read_file \
and not test_reads_file_from_url_wrapper"
and not test_reads_file_from_url_wrapper \
and not test_x509_der \
and not test_x509_pem"
'';
meta = {