style: Fix linter warnings in test_editor.py

This commit is contained in:
Paul Gauthier (aider) 2025-02-24 09:46:33 -08:00
parent 30361aa685
commit 54965fdf2e

View file

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