mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
![]() # Context: USER: try using create_input(StringIO('')) in the tests ASSISTANT: I understand that you want to use `create_input(StringIO(''))` in the tests. However, I need more information about which test cases you want to apply this change to and how you want to use it. Please provide more details or examples. USER: the ones that currently use create_pipe_input() ASSISTANT: I see that you want to replace `create_pipe_input()` with `create_input(StringIO(''))` in the test cases. Here are the changes for the `tests/test_main.py` file: ```python tests/test_main.py <<<<<<< ORIGINAL from prompt_toolkit.input import create_pipe_input ======= from prompt_toolkit.input import create_input from io import StringIO >>>>>>> UPDATED ``` ```python tests/test_main.py <<<<<<< ORIGINAL pipe_input = create_pipe_input() ======= pipe_input = create_input(StringIO('')) >>>>>>> UPDATED ``` ```python tests/test_main.py <<<<<<< ORIGINAL pipe_input = create_pipe_input() ======= pipe_input = create_input(StringIO('')) >>>>>>> UPDATED ``` ```python tests/test_main.py <<<<<<< ORIGINAL pipe_input = create_pipe_input() ======= pipe_input = create_input(StringIO('')) >>>>>>> UPDATED ``` These changes will replace the usage of `create_pipe_input()` with `create_input(StringIO(''))` in the test cases. |
||
---|---|---|
.. | ||
__init__.py | ||
test_main.py | ||
test_utils.py |