From ba895c656ae14d7007598096728548bbb330488a Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 10 Aug 2024 08:59:13 -0700 Subject: [PATCH] fix: Remove 'pretty' argument from Coder.create calls in tests --- tests/basic/test_coder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/basic/test_coder.py b/tests/basic/test_coder.py index aca7ddb3a..0e540035f 100644 --- a/tests/basic/test_coder.py +++ b/tests/basic/test_coder.py @@ -286,7 +286,7 @@ class TestCoder(unittest.TestCase): files = [file1, file2] # Initialize the Coder object with the mocked IO and mocked repo - coder = Coder.create(self.GPT35, None, io=InputOutput(), fnames=files, pretty=False) + coder = Coder.create(self.GPT35, None, io=InputOutput(), fnames=files) def mock_send(*args, **kwargs): coder.partial_response_content = "ok" @@ -565,7 +565,7 @@ three repo.git.commit("-m", "initial") io = InputOutput(yes=True) - coder = Coder.create(self.GPT35, "diff", io=io, fnames=[str(fname)], pretty=False) + coder = Coder.create(self.GPT35, "diff", io=io, fnames=[str(fname)]) def mock_send(*args, **kwargs): coder.partial_response_content = f"""