Merge pull request #253338 from reckenrode/google-auth-oauthlib-fix

python3Packages.google-auth-oauthlib: fix test failure on Darwin
This commit is contained in:
toonn
2023-09-29 17:40:42 +02:00
committed by GitHub
@@ -33,8 +33,10 @@ buildPythonPackage rec {
pytestCheckHook
];
# some tests require loopback networking
__darwinAllowLocalNetworking = true;
disabledTests = lib.optionals stdenv.isDarwin [
# This test fails if the hostname is not associated with an IP (e.g., in `/etc/hosts`).
"test_run_local_server_bind_addr"
];
pythonImportsCheck = [
"google_auth_oauthlib"