mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #23919 -- Replaced super(ClassName, self) with super().
This commit is contained in:
@@ -9,7 +9,7 @@ class NodelistTest(TestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.engine = Engine()
|
||||
super(NodelistTest, cls).setUpClass()
|
||||
super().setUpClass()
|
||||
|
||||
def test_for(self):
|
||||
template = self.engine.from_string('{% for i in 1 %}{{ a }}{% endfor %}')
|
||||
|
||||
Reference in New Issue
Block a user