Sitelet https://github.com/googleapis/python-spanner/commit/34051f718d59368a3ab3851ad2aecd93bba0abbb
Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Commit 34051f7

Browse files
committed
style: fix lint errors
1 parent 264fe55 commit 34051f7

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎tests/unit/test_database.py‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,16 +1368,13 @@ def test_context_mgr_w_commit_stats(self):
13681368
session=self.SESSION_NAME,
13691369
mutations=[],
13701370
single_use_transaction=expected_txn_options,
1371-
return_commit_stats=True
1372-
1371+
return_commit_stats=True,
13731372
)
13741373
api.commit.assert_called_once_with(
13751374
request=request, metadata=[("google-cloud-resource-prefix", database.name)],
13761375
)
13771376

1378-
database.logger.info.assert_called_once_with(
1379-
"Transaction mutation count: 4"
1380-
)
1377+
database.logger.info.assert_called_once_with("Transaction mutation count: 4")
13811378

13821379
def test_context_mgr_failure(self):
13831380
from google.cloud.spanner_v1.batch import Batch
@@ -1972,6 +1969,7 @@ def __init__(self, name, instance=None):
19721969
self.database_id = name.rsplit("/", 1)[1]
19731970
self._instance = instance
19741971
from logging import Logger
1972+
19751973
self.logger = mock.create_autospec(Logger, instance=True)
19761974

19771975

0 commit comments

Comments
 (0)