Skip to content

Commit 8f23842

Browse files
committed
PYTHON-5114 Fix comment
1 parent c2052a9 commit 8f23842

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/asynchronous/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ async def _run_scenario(self, spec, uri=None):
14991499
if skip_reason is not None:
15001500
raise unittest.SkipTest(f"{skip_reason}")
15011501

1502-
# Kill all sessions after each test with transactions prevent an open
1502+
# Kill all sessions after each test with transactions to prevent an open
15031503
# transaction (from a test failure) from blocking collection/database
15041504
# operations during test set up and tear down.
15051505
for op in spec["operations"]:

test/asynchronous/utils_spec_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ async def setup_scenario(self, scenario_def):
621621
async def run_scenario(self, scenario_def, test):
622622
self.maybe_skip_scenario(test)
623623

624-
# Kill all sessions after each test with transactions prevent an open
624+
# Kill all sessions after each test with transactions to prevent an open
625625
# transaction (from a test failure) from blocking collection/database
626626
# operations during test set up and tear down.
627627
for op in test["operations"]:

test/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ def _run_scenario(self, spec, uri=None):
14861486
if skip_reason is not None:
14871487
raise unittest.SkipTest(f"{skip_reason}")
14881488

1489-
# Kill all sessions after each test with transactions prevent an open
1489+
# Kill all sessions after each test with transactions to prevent an open
14901490
# transaction (from a test failure) from blocking collection/database
14911491
# operations during test set up and tear down.
14921492
for op in spec["operations"]:

test/utils_spec_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ def setup_scenario(self, scenario_def):
621621
def run_scenario(self, scenario_def, test):
622622
self.maybe_skip_scenario(test)
623623

624-
# Kill all sessions after each test with transactions prevent an open
624+
# Kill all sessions after each test with transactions to prevent an open
625625
# transaction (from a test failure) from blocking collection/database
626626
# operations during test set up and tear down.
627627
for op in test["operations"]:

0 commit comments

Comments
 (0)