mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 05:45:00 +00:00
style: Fix code formatting in test_editor.py
This commit is contained in:
parent
c7fa57fd14
commit
4560572ff2
1 changed files with 2 additions and 2 deletions
|
@ -95,10 +95,10 @@ def test_pipe_editor_with_fake_editor():
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
with tempfile.NamedTemporaryFile(mode="w", suffix=".py", delete=False) as f:
|
with tempfile.NamedTemporaryFile(mode="w", suffix=".py", delete=False) as f:
|
||||||
f.write('''import sys
|
f.write("""import sys
|
||||||
with open(sys.argv[0] + ".log", "w") as f:
|
with open(sys.argv[0] + ".log", "w") as f:
|
||||||
f.write(" ".join(sys.argv[1:]))
|
f.write(" ".join(sys.argv[1:]))
|
||||||
''')
|
""")
|
||||||
script_path = f.name
|
script_path = f.name
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue