python37Packages.httplib: disable tests on darwin
Most of the tests were failing on Mac OS, and tests were only recently enabled for this package.
This commit is contained in:
parent
c1b57d6873
commit
c2cb457ebf
|
@ -1,4 +1,5 @@
|
|||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
|
@ -39,8 +40,10 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Don't run tests for Python 2.7
|
||||
doCheck = !isPy27;
|
||||
# Don't run tests for Python 2.7 or Darwin
|
||||
# Nearly 50% of the test suite requires local network access
|
||||
# which isn't allowed on sandboxed Darwin builds
|
||||
doCheck = !(isPy27 || stdenv.isDarwin);
|
||||
pytestFlagsArray = [ "--ignore python2" ];
|
||||
pythonImportsCheck = [ "httplib2" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue