DSPy: The framework for programming—not prompting—language models
Python
remove extra blank line
Xiao Cuie85bfa26cbcd
diff --git a/tests/teleprompt/test_knn_fewshot.py b/tests/teleprompt/test_knn_fewshot.pyindex 1670a83b6..b0a9bf2ed 100644--- a/tests/teleprompt/test_knn_fewshot.py+++ b/tests/teleprompt/test_knn_fewshot.py@@ -59,7 +59,6 @@ def _test_knn_few_shot_compile(setup_knn_few_shot):assert len(compiled_student.predictor.demos) == 1assert compiled_student.predictor.demos[0].input == trainset[0].inputassert compiled_student.predictor.demos[0].output == trainset[0].output-# Simulate a query that is similar to one of the training examplesoutput = compiled_student.forward(input="What is the capital of Spain?").output