mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-23 19:41:54 +00:00
Apply lint again
This commit is contained in:
parent
d42865a58f
commit
4c256fb5b4
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user