style: Fix code style in test

This commit is contained in:
Paul Gauthier (aider) 2025-05-11 08:13:18 -07:00
parent a53ab7d937
commit 9e0d7d9c46

View file

@ -951,7 +951,7 @@ class TestMain(TestCase):
with GitTemporaryDirectory():
with patch("aider.io.InputOutput.offer_url") as mock_offer_url:
# Suppress stderr for this test as argparse prints an error message
with patch('sys.stderr', new_callable=StringIO):
with patch("sys.stderr", new_callable=StringIO):
result = main(
["--edit-format", "not-a-real-format", "--exit", "--yes"],
input=DummyInput(),