mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
refactor: Remove unused file_editor import and mock in test_editor.py
This commit is contained in:
parent
5abadc31a3
commit
cd81c2619b
1 changed files with 0 additions and 2 deletions
|
@ -8,7 +8,6 @@ from aider.editor import (
|
|||
DEFAULT_EDITOR_OS_X,
|
||||
DEFAULT_EDITOR_WINDOWS,
|
||||
discover_editor,
|
||||
file_editor,
|
||||
get_environment_editor,
|
||||
pipe_editor,
|
||||
print_status_message,
|
||||
|
@ -98,7 +97,6 @@ def test_pipe_editor():
|
|||
# Mock the file operations and editor call
|
||||
with (
|
||||
patch("aider.editor.write_temp_file") as mock_write,
|
||||
patch("aider.editor.file_editor") as mock_editor,
|
||||
patch("builtins.open") as mock_open,
|
||||
patch("os.remove") as mock_remove,
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue