mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-15 00:54:59 +00:00
fix: Remove unused mock_stdout in tests
This commit is contained in:
parent
cc8be1453f
commit
1953c9815a
1 changed files with 20 additions and 22 deletions
|
@ -192,7 +192,6 @@ class TestMain(TestCase):
|
|||
self.assertIn(abs_ignored_file, coder.abs_fnames)
|
||||
|
||||
# Test with --add-gitignore-files set to False
|
||||
with patch("sys.stdout", new_callable=StringIO) as mock_stdout:
|
||||
coder = main(
|
||||
["--no-add-gitignore-files", "--exit", "--yes", abs_ignored_file],
|
||||
input=DummyInput(),
|
||||
|
@ -251,7 +250,6 @@ class TestMain(TestCase):
|
|||
self.assertIn(abs_ignored_file, coder.abs_fnames)
|
||||
|
||||
# Test with --add-gitignore-files set to False
|
||||
with patch("sys.stdout", new_callable=StringIO) as mock_stdout:
|
||||
coder = main(
|
||||
["--no-add-gitignore-files", "--exit", "--yes"],
|
||||
input=DummyInput(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue