mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
style: Format test_io.py with consistent string quotes and spacing
This commit is contained in:
parent
571a5962b7
commit
e94b05851f
1 changed files with 2 additions and 2 deletions
|
@ -296,8 +296,8 @@ class TestInputOutputMultilineMode(unittest.TestCase):
|
||||||
# Mock console.print to capture the output
|
# Mock console.print to capture the output
|
||||||
with patch.object(io.console, "print") as mock_print:
|
with patch.object(io.console, "print") as mock_print:
|
||||||
# First call will raise UnicodeEncodeError
|
# 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)
|
io._tool_message(invalid_unicode)
|
||||||
|
|
||||||
# Verify that the message was converted to ASCII with replacement
|
# Verify that the message was converted to ASCII with replacement
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue