From b25579ebf0fbd9dcf3ccf2ff51801c04a016a623 Mon Sep 17 00:00:00 2001 From: Victor Chudnovsky Date: Fri, 26 Jan 2024 13:37:15 -0800 Subject: [PATCH] reformat as requiired by prechecks --- tests/unit/retry/test_retry_imports.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/unit/retry/test_retry_imports.py b/tests/unit/retry/test_retry_imports.py index 5525e6f8..cd002e63 100644 --- a/tests/unit/retry/test_retry_imports.py +++ b/tests/unit/retry/test_retry_imports.py @@ -12,12 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. + def test_legacy_imports_retry_unary_sync(): # TODO: Delete this test when when we revert these imports on the # next major version release # (https://github.com/googleapis/python-api-core/issues/576) - from google.api_core.retry import logging from google.api_core.retry import datetime # noqa: F401 from google.api_core.retry import functools # noqa: F401 from google.api_core.retry import logging # noqa: F401 @@ -26,7 +26,12 @@ def test_legacy_imports_retry_unary_sync(): from google.api_core.retry import time # noqa: F401 from google.api_core.retry import inspect # noqa: F401 from google.api_core.retry import warnings # noqa: F401 - from google.api_core.retry import Any, Callable, TypeVar, TYPE_CHECKING # noqa: F401 + from google.api_core.retry import ( + Any, # noqa: F401 + Callable, # noqa: F401 + TypeVar, # noqa: F401 + TYPE_CHECKING, # noqa: F401 + ) from google.api_core.retry import datetime_helpers # noqa: F401 from google.api_core.retry import exceptions # noqa: F401