From ee56ba1f503ff5dae341866388645f33b279509b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 13 May 2023 12:54:52 -0700 Subject: [PATCH] copy --- examples/complex-change.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/complex-change.md b/examples/complex-change.md index 752e4dffb..f7878b1ac 100644 --- a/examples/complex-change.md +++ b/examples/complex-change.md @@ -14,7 +14,7 @@ Some things to notice: > Added tests/test_main.py to the chat > Added aider/getinput.py to the chat -#### > instead of using /dev/null to send no output in the main tests, can we use the prompt_toolkit input mocking functions? +#### > instead of using /dev/null to send no input in the main tests, can we use the prompt_toolkit input mocking functions? Yes, we can use the `prompt_toolkit.input` module to mock the input in the tests. Here's how to modify the `tests/test_main.py` file: