Skip to content

armgit / dspy

Public Imported from GitHub
0

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.py
index 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) == 1
assert compiled_student.predictor.demos[0].input == trainset[0].input
assert compiled_student.predictor.demos[0].output == trainset[0].output
-
# Simulate a query that is similar to one of the training examples
output = compiled_student.forward(input="What is the capital of Spain?").output