Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make nox test more robust && ignore 2.7-only import branch
  • Loading branch information
lidizheng committed Apr 22, 2020
commit 21b186cd60931e239dd28c743377a92436da7b69
2 changes: 1 addition & 1 deletion google/api_core/gapic_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
from google.api_core.gapic_v1 import config_async # noqa: F401
__all__ = ["client_info", "config", "config_async", "method", "method_async", "routing_header"]
else:
__all__ = ["client_info", "config", "method", "routing_header"]
__all__ = ["client_info", "config", "method", "routing_header"] # pragma: NO COVER
2 changes: 1 addition & 1 deletion google/api_core/operations_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
from google.api_core.operations_v1.operations_async_client import OperationsAsyncClient # noqa: F401
__all__ = ["OperationsClient", "OperationsAsyncClient"]
else:
__all__ = ["OperationsClient"]
__all__ = ["OperationsClient"] # pragma: NO COVER
4 changes: 4 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def default(session):
"grpcio")

session.run(
"python",
"-m",
"py.test",
"--quiet",
"--cov=google.api_core",
Expand All @@ -62,6 +64,8 @@ def default(session):
else:
# Run py.test against the unit tests.
session.run(
"python",
"-m",
"py.test",
"--quiet",
"--cov=google.api_core",
Expand Down