From 6b9045a2a2e74dcc6e0e5536c5bc8650c7b3b86b Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 11 May 2025 08:15:19 -0700 Subject: [PATCH] fix: Fix F841 unused variable in test --- tests/basic/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basic/test_main.py b/tests/basic/test_main.py index 5d94e725a..40119669e 100644 --- a/tests/basic/test_main.py +++ b/tests/basic/test_main.py @@ -952,7 +952,7 @@ class TestMain(TestCase): # Suppress stderr for this test as argparse prints an error message with patch("sys.stderr", new_callable=StringIO): with self.assertRaises(SystemExit) as cm: - result = main( + _ = main( ["--edit-format", "not-a-real-format", "--exit", "--yes"], input=DummyInput(), output=DummyOutput(),