fix: Remove unused 'result' variable in test_pipe_editor_with_shell_script

This commit is contained in:
Paul Gauthier (aider) 2025-02-24 09:46:29 -08:00
parent 8be93b72c4
commit 30361aa685

View file

@ -103,8 +103,8 @@ def test_pipe_editor_with_shell_script():
try: try:
# Use the script as editor and verify it's called with .md file # Use the script as editor and verify it's called with .md file
result = pipe_editor("test content", suffix="md", editor=script_path) pipe_editor("test content", suffix="md", editor=script_path)
# Read the log file to see what arguments were passed # Read the log file to see what arguments were passed
with open(f"{script_path}.log") as f: with open(f"{script_path}.log") as f:
called_args = f.read().strip() called_args = f.read().strip()