fix: Remove unused mock_stdout in tests
Some checks are pending
pre-commit / pre-commit (push) Waiting to run

This commit is contained in:
Paul Gauthier (aider) 2025-06-08 10:19:47 -07:00
parent 0ac6068e1d
commit 990a0566bb

View file

@ -168,7 +168,6 @@ class TestMain(TestCase):
abs_ignored_file = str(ignored_file.resolve())
# Test without the --add-gitignore-files flag (default: False)
with patch("sys.stdout", new_callable=StringIO) as mock_stdout:
coder = main(
["--exit", "--yes", abs_ignored_file],
input=DummyInput(),
@ -218,7 +217,6 @@ class TestMain(TestCase):
rel_ignored_file = "ignored.txt"
# Test without the --add-gitignore-files flag (default: False)
with patch("sys.stdout", new_callable=StringIO) as mock_stdout:
coder = main(
["--exit", "--yes"],
input=DummyInput(),