From 8f238421e05f1bcd943e690f340c4c7c85cb2dd2 Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Thu, 5 Mar 2026 10:06:40 -0800 Subject: [PATCH] PYTHON-5114 Fix comment --- test/asynchronous/unified_format.py | 2 +- test/asynchronous/utils_spec_runner.py | 2 +- test/unified_format.py | 2 +- test/utils_spec_runner.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/asynchronous/unified_format.py b/test/asynchronous/unified_format.py index a4d64f8a2..1fb93e7b8 100644 --- a/test/asynchronous/unified_format.py +++ b/test/asynchronous/unified_format.py @@ -1499,7 +1499,7 @@ class UnifiedSpecTestMixinV1(AsyncIntegrationTest): if skip_reason is not None: raise unittest.SkipTest(f"{skip_reason}") - # Kill all sessions after each test with transactions prevent an open + # Kill all sessions after each test with transactions to prevent an open # transaction (from a test failure) from blocking collection/database # operations during test set up and tear down. for op in spec["operations"]: diff --git a/test/asynchronous/utils_spec_runner.py b/test/asynchronous/utils_spec_runner.py index c27b4c1c2..f099eee12 100644 --- a/test/asynchronous/utils_spec_runner.py +++ b/test/asynchronous/utils_spec_runner.py @@ -621,7 +621,7 @@ class AsyncSpecRunner(AsyncIntegrationTest): async def run_scenario(self, scenario_def, test): self.maybe_skip_scenario(test) - # Kill all sessions after each test with transactions prevent an open + # Kill all sessions after each test with transactions to prevent an open # transaction (from a test failure) from blocking collection/database # operations during test set up and tear down. for op in test["operations"]: diff --git a/test/unified_format.py b/test/unified_format.py index 31ac178cc..5516a7adf 100644 --- a/test/unified_format.py +++ b/test/unified_format.py @@ -1486,7 +1486,7 @@ class UnifiedSpecTestMixinV1(IntegrationTest): if skip_reason is not None: raise unittest.SkipTest(f"{skip_reason}") - # Kill all sessions after each test with transactions prevent an open + # Kill all sessions after each test with transactions to prevent an open # transaction (from a test failure) from blocking collection/database # operations during test set up and tear down. for op in spec["operations"]: diff --git a/test/utils_spec_runner.py b/test/utils_spec_runner.py index 72788c4a1..34e1c95ef 100644 --- a/test/utils_spec_runner.py +++ b/test/utils_spec_runner.py @@ -621,7 +621,7 @@ class SpecRunner(IntegrationTest): def run_scenario(self, scenario_def, test): self.maybe_skip_scenario(test) - # Kill all sessions after each test with transactions prevent an open + # Kill all sessions after each test with transactions to prevent an open # transaction (from a test failure) from blocking collection/database # operations during test set up and tear down. for op in test["operations"]: