python3Packages.httplib2: disable test_timeout_subsequent on darwin

This commit is contained in:
Martin Weinelt 2021-04-23 15:50:34 +02:00
parent ca65d6f7d2
commit 21294b470c
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, isPy27
@ -44,9 +45,12 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [ "--ignore python2" ];
disabledTests = lib.optionals (stdenv.isDarwin) [
# fails with HTTP 408 Request Timeout, instead of expected 200 OK
"test_timeout_subsequent"
];
__darwinAllowLocalNetworking = true;
pytestFlagsArray = [ "--ignore python2" ];
meta = with lib; {
description = "A comprehensive HTTP client library";