Skip to content

Commit

Permalink
Entirely remove Django 5 test for other Django versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanboiteau committed Apr 18, 2024
1 parent 4989798 commit f7a5fc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/filters/test_trusted_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ def test_trust_escapejs(self):
result = self._render('{{ "<test&test>"|escapejs }}')
assert result == expected

def test_trust_escapeseq(self):
if VERSION[0] == 5:
if VERSION[0] == 5:

def test_trust_escapeseq(self):
expected = "T&amp;Cs, &#x27;Test&#x27;"
result = self._render(
'{{ value|escapeseq|join:", " }}',
Expand Down

0 comments on commit f7a5fc6

Please sign in to comment.