Unverified Commit 7a0945c7 authored by toonn's avatar toonn Committed by GitHub
Browse files

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

python3Packages.google-auth-oauthlib: fix test failure on Darwin
parents 4e82d9f9 8a85456b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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"