Skip to content

Commit 998a5f0

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

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/google-cloud-error-reporting/tests/unit/gapic/errorreporting_v1beta1/test_error_group_service.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-error-reporting/tests/unit/gapic/errorreporting_v1beta1/test_error_stats_service.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-error-reporting/tests/unit/gapic/errorreporting_v1beta1/test_report_errors_service.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)