Skip to content

Commit 9f5a894

Browse files
committed
Improve docstring tests output
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent b8f8420 commit 9f5a894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def evaluate(self, example: Example) -> None | str:
165165
if len(response) > 0:
166166
return (
167167
f"Pylint validation failed for code example:\n"
168-
f"{example_with_imports}\nOutput: {response}"
168+
f"{example_with_imports}\nOutput: " + "\n".join(response)
169169
)
170170

171171
return None

0 commit comments

Comments
 (0)