From cd81c2619b775823f01a0056603d5772168c90ea Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 21 Nov 2024 09:58:53 -0800 Subject: [PATCH] refactor: Remove unused file_editor import and mock in test_editor.py --- tests/basic/test_editor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/basic/test_editor.py b/tests/basic/test_editor.py index 89fc775aa..6af973bf6 100644 --- a/tests/basic/test_editor.py +++ b/tests/basic/test_editor.py @@ -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, ):