mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Fix F841 unused variable in test
This commit is contained in:
parent
5f24a0013a
commit
6b9045a2a2
1 changed files with 1 additions and 1 deletions
|
@ -952,7 +952,7 @@ class TestMain(TestCase):
|
||||||
# Suppress stderr for this test as argparse prints an error message
|
# 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):
|
||||||
with self.assertRaises(SystemExit) as cm:
|
with self.assertRaises(SystemExit) as cm:
|
||||||
result = main(
|
_ = main(
|
||||||
["--edit-format", "not-a-real-format", "--exit", "--yes"],
|
["--edit-format", "not-a-real-format", "--exit", "--yes"],
|
||||||
input=DummyInput(),
|
input=DummyInput(),
|
||||||
output=DummyOutput(),
|
output=DummyOutput(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue