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
This commit is contained in:
Jamie McClymont 2021-11-30 20:34:17 +13:00
parent 73bd63bf75
commit 62df72857c

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 = {