Skip to content

Commit f1f720c

Browse files
committed
fix: fix broken import for AsyncRetry
1 parent 7ffa182 commit f1f720c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/unit/retry/test_retry_imports.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ def test_legacy_imports_retry_unary_async():
2727
# next major version release
2828
# (https://github.com/googleapis/python-api-core/issues/576)
2929
from google.api_core import retry_async # noqa: F401
30+
31+
# See https://github.com/googleapis/python-api-core/issues/586
32+
# for context on why we need to test this import this explicitly.
33+
from google.api_core.retry_async import AsyncRetry # noqa: F401

0 commit comments

Comments
 (0)