Skip to content

Commit

Permalink
update version number for test
Browse files Browse the repository at this point in the history
  • Loading branch information
DCAuto committed Oct 24, 2024
1 parent 3837417 commit b041a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jinja2/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,15 @@ def test_in(value: t.Any, seq: t.Container[t.Any]) -> bool:
"""Check if value is in seq.
Opposite of the 'in' test, allowing use as a test in filters like 'selectattr'
.. versionadded:: ??
.. versionadded:: 2.10
"""
return value in seq


def test_contains(value: t.Any, seq: t.Container[t.Any]) -> bool:
"""Check if seq is in value.
.. versionadded:: 2.10
.. versionadded:: 3.1.5
"""
return seq in value

Expand Down

0 comments on commit b041a57

Please sign in to comment.