Apply lint again

This commit is contained in:
Sadra Barikbin 2025-07-27 02:17:43 +03:30
parent d42865a58f
commit 4c256fb5b4

View File

@ -685,7 +685,10 @@ def test_prompt_with_template_variable_name_jinja2() -> None:
def test_prompt_template_add_with_with_another_format() -> None: def test_prompt_template_add_with_with_another_format() -> None:
with pytest.raises(ValueError, match=r"Cannot add templates"): with pytest.raises(ValueError, match=r"Cannot add templates"):
PromptTemplate.from_template("This is a {template}") + PromptTemplate.from_template("So {{this}} is", template_format="mustache") (
PromptTemplate.from_template("This is a {template}") +
PromptTemplate.from_template("So {{this}} is", template_format="mustache")
)
@pytest.mark.parametrize( @pytest.mark.parametrize(