Unverified Commit 8a85456b authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

python3Packages.google-auth-oauthlib: fix test failure on Darwin

parent dba6d77a
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"