Skip to content

Commit 7ab2e0d

Browse files
authored
test(core): resolve pytest marker warning (#33111)
Remove redundant/outdated `@pytest.mark.requires("jinja2")` decorator Pytest marks (like `@pytest.mark.requires(...)`) applied directly to fixtures have no effect and are deprecated.
1 parent 81319ad commit 7ab2e0d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libs/core/tests/unit_tests/prompts/test_few_shot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828

2929
@pytest.fixture
30-
@pytest.mark.requires("jinja2")
3130
def example_jinja2_prompt() -> tuple[PromptTemplate, list[dict[str, str]]]:
3231
example_template = "{{ word }}: {{ antonym }}"
3332

0 commit comments

Comments
 (0)