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 { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, isPy27 , isPy27
@ -44,9 +45,12 @@ buildPythonPackage rec {
pytestCheckHook 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; { meta = with lib; {
description = "A comprehensive HTTP client library"; description = "A comprehensive HTTP client library";