From e94b05851f9192866aac4af0a97e404dfefef47b Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 11 Jan 2025 15:48:10 -0800 Subject: [PATCH] style: Format test_io.py with consistent string quotes and spacing --- tests/basic/test_io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/basic/test_io.py b/tests/basic/test_io.py index a5f021abc..d6762df93 100644 --- a/tests/basic/test_io.py +++ b/tests/basic/test_io.py @@ -296,8 +296,8 @@ class TestInputOutputMultilineMode(unittest.TestCase): # Mock console.print to capture the output with patch.object(io.console, "print") as mock_print: # First call will raise UnicodeEncodeError - mock_print.side_effect = [UnicodeEncodeError('utf-8', '', 0, 1, 'invalid'), None] - + mock_print.side_effect = [UnicodeEncodeError("utf-8", "", 0, 1, "invalid"), None] + io._tool_message(invalid_unicode) # Verify that the message was converted to ASCII with replacement