From 5f2cf75be88abe0913fed3d8d64a83b386434e3b Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 7 Mar 2025 17:20:11 -0800 Subject: [PATCH] style: Fix linting issues in test_reasoning.py --- tests/basic/test_reasoning.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/basic/test_reasoning.py b/tests/basic/test_reasoning.py index 217d88e66..aa6c71f74 100644 --- a/tests/basic/test_reasoning.py +++ b/tests/basic/test_reasoning.py @@ -57,7 +57,7 @@ class TestReasoning(unittest.TestCase): # Output should include both reasoning and main content self.assertIn(reasoning_content, output) self.assertIn(main_content, output) - + # Verify that partial_response_content only contains the main content self.assertEqual(coder.partial_response_content.strip(), main_content.strip()) @@ -166,11 +166,11 @@ class TestReasoning(unittest.TestCase): self.assertLess( reasoning_pos, main_pos, "Reasoning content should appear before main content" ) - + # Verify that partial_response_content only contains the main content expected_content = "Final answer after reasoning" self.assertEqual(coder.partial_response_content.strip(), expected_content) - + # Verify that partial_response_content only contains the main content self.assertEqual(coder.partial_response_content.strip(), "Final answer after reasoning") @@ -238,7 +238,7 @@ class TestReasoning(unittest.TestCase): self.assertLess( reasoning_pos, main_pos, "Reasoning content should appear before main content" ) - + # Verify that partial_response_content only contains the main content self.assertEqual(coder.partial_response_content.strip(), main_content.strip())