From e84de1fb5aaf8bac62e400e87b7f5eac05131440 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 4 Oct 2024 15:25:22 -0700 Subject: [PATCH] Revert "test: add DummyInput and DummyOutput to TestHelp setup" This reverts commit d098a4cd800b2153ab1c60fb3711885d55034762. --- tests/help/test_help.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/help/test_help.py b/tests/help/test_help.py index 83a4138b1..5a90d2ebf 100644 --- a/tests/help/test_help.py +++ b/tests/help/test_help.py @@ -1,9 +1,6 @@ import unittest from unittest.mock import MagicMock -from prompt_toolkit.input import DummyInput -from prompt_toolkit.output import DummyOutput - import aider from aider.coders import Coder from aider.commands import Commands @@ -15,7 +12,7 @@ from aider.models import Model class TestHelp(unittest.TestCase): @classmethod def setUpClass(cls): - io = InputOutput(pretty=False, yes=True, input=DummyInput(), output=DummyOutput()) + io = InputOutput(pretty=False, yes=True) GPT35 = Model("gpt-3.5-turbo")