Skip to content

Commit c09c4b9

Browse files
chore: use gapic-generator-python 1.3.1 (#482)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472772457 Source-Link: googleapis/googleapis@855b74d Source-Link: googleapis/googleapis-gen@b64b1e7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjY0YjFlN2RhM2UxMzhmMTVjYTM2MTU1MmVmMDU0NWU1NDg5MWI0ZiJ9
1 parent fd43753 commit c09c4b9

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

packages/google-cloud-vision/tests/unit/gapic/vision_v1/test_image_annotator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# try/except added for compatibility with python < 3.8
1919
try:
2020
from unittest import mock
21-
from unittest.mock import AsyncMock
22-
except ImportError:
21+
from unittest.mock import AsyncMock # pragma: NO COVER
22+
except ImportError: # pragma: NO COVER
2323
import mock
2424

2525
import grpc

packages/google-cloud-vision/tests/unit/gapic/vision_v1/test_product_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# try/except added for compatibility with python < 3.8
1919
try:
2020
from unittest import mock
21-
from unittest.mock import AsyncMock
22-
except ImportError:
21+
from unittest.mock import AsyncMock # pragma: NO COVER
22+
except ImportError: # pragma: NO COVER
2323
import mock
2424

2525
import grpc

packages/google-cloud-vision/tests/unit/gapic/vision_v1p1beta1/test_image_annotator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# try/except added for compatibility with python < 3.8
1919
try:
2020
from unittest import mock
21-
from unittest.mock import AsyncMock
22-
except ImportError:
21+
from unittest.mock import AsyncMock # pragma: NO COVER
22+
except ImportError: # pragma: NO COVER
2323
import mock
2424

2525
import grpc

packages/google-cloud-vision/tests/unit/gapic/vision_v1p2beta1/test_image_annotator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# try/except added for compatibility with python < 3.8
1919
try:
2020
from unittest import mock
21-
from unittest.mock import AsyncMock
22-
except ImportError:
21+
from unittest.mock import AsyncMock # pragma: NO COVER
22+
except ImportError: # pragma: NO COVER
2323
import mock
2424

2525
import grpc

packages/google-cloud-vision/tests/unit/gapic/vision_v1p3beta1/test_image_annotator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# try/except added for compatibility with python < 3.8
1919
try:
2020
from unittest import mock
21-
from unittest.mock import AsyncMock
22-
except ImportError:
21+
from unittest.mock import AsyncMock # pragma: NO COVER
22+
except ImportError: # pragma: NO COVER
2323
import mock
2424

2525
import grpc

packages/google-cloud-vision/tests/unit/gapic/vision_v1p3beta1/test_product_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# try/except added for compatibility with python < 3.8
1919
try:
2020
from unittest import mock
21-
from unittest.mock import AsyncMock
22-
except ImportError:
21+
from unittest.mock import AsyncMock # pragma: NO COVER
22+
except ImportError: # pragma: NO COVER
2323
import mock
2424

2525
import grpc

packages/google-cloud-vision/tests/unit/gapic/vision_v1p4beta1/test_image_annotator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# try/except added for compatibility with python < 3.8
1919
try:
2020
from unittest import mock
21-
from unittest.mock import AsyncMock
22-
except ImportError:
21+
from unittest.mock import AsyncMock # pragma: NO COVER
22+
except ImportError: # pragma: NO COVER
2323
import mock
2424

2525
import grpc

packages/google-cloud-vision/tests/unit/gapic/vision_v1p4beta1/test_product_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# try/except added for compatibility with python < 3.8
1919
try:
2020
from unittest import mock
21-
from unittest.mock import AsyncMock
22-
except ImportError:
21+
from unittest.mock import AsyncMock # pragma: NO COVER
22+
except ImportError: # pragma: NO COVER
2323
import mock
2424

2525
import grpc

0 commit comments

Comments
 (0)