Merge pull request #120343 from mweinelt/python/httplib2

python3Packages.httplib2: disable test_timeout_subsequent on darwin
This commit is contained in:
Martin Weinelt 2021-04-23 20:28:41 +02:00 committed by GitHub
commit f52d4a72bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";