mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #23919 -- Replaced super(ClassName, self) with super().
This commit is contained in:
@@ -128,7 +128,7 @@ class CacheTests(SimpleTestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.engine = Engine(libraries={'cache': 'django.templatetags.cache'})
|
||||
super(CacheTests, cls).setUpClass()
|
||||
super().setUpClass()
|
||||
|
||||
def test_cache_regression_20130(self):
|
||||
t = self.engine.from_string('{% load cache %}{% cache 1 regression_20130 %}foo{% endcache %}')
|
||||
|
||||
Reference in New Issue
Block a user