Skip to content

Commit c9b94d1

Browse files
committed
Django 4.0 dropped ifequal and ifnotequal
1 parent b503060 commit c9b94d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_flow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import textwrap
77

8-
from .plugin_test import DjangoPluginTestCase, squashed
8+
from .plugin_test import DjangoPluginTestCase, django_stop_before, squashed
99

1010

1111
class IfTest(DjangoPluginTestCase):
@@ -173,6 +173,7 @@ def test_ifchanged_variable(self):
173173
self.assert_analysis([1, 2, 3, 4, 5])
174174

175175

176+
@django_stop_before(4, 0)
176177
class IfEqualTest(DjangoPluginTestCase):
177178

178179
def test_ifequal(self):

0 commit comments

Comments
 (0)