From 29250f82ed1be621c25f6207bc1c87ef1df9d19d Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 28 Oct 2024 15:07:50 -0700 Subject: [PATCH] test: fix print call count assertions in sendchat tests --- tests/basic/test_sendchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basic/test_sendchat.py b/tests/basic/test_sendchat.py index a7aa415a5..56c5ea7b7 100644 --- a/tests/basic/test_sendchat.py +++ b/tests/basic/test_sendchat.py @@ -6,7 +6,7 @@ import httpx from aider.llm import litellm from aider.sendchat import retry_exceptions, simple_send_with_retries -# ai: fix these test errors! +# ai: fix these test errors! it should not test for 2 print() calls! FAILED tests/basic/test_sendchat.py::TestSendChat::test_simple_send_with_retries_connection_error - AssertionError: Expected 'print' to have been called once. Called 2 times. FAILED tests/basic/test_sendchat.py::TestSendChat::test_simple_send_with_retries_rate_limit_error - AssertionError: Expected 'print' to have been called once. Called 2 times.