Merge pull request #154725 from fabaff/fix-python-http-client
python3Packages.python-http-client: disable failing test
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -10,6 +11,8 @@ buildPythonPackage rec {
|
||||
version = "3.3.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sendgrid";
|
||||
repo = "python-http-client";
|
||||
@@ -22,6 +25,12 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test is failing as the test is dynamic
|
||||
# https://github.com/sendgrid/python-http-client/issues/153
|
||||
"test__daterange"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"python_http_client"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user