summaryrefslogtreecommitdiff
path: root/tests/template_tests/test_custom.py
diff options
context:
space:
mode:
authorchillaranand <anand21nanda@gmail.com>2017-01-21 18:43:44 +0530
committerTim Graham <timograham@gmail.com>2017-01-25 12:23:46 -0500
commitd6eaf7c0183cd04b78f2a55e1d60bb7e59598310 (patch)
treeab02fd9949d4bfa23e27dea45e213ce334c883f0 /tests/template_tests/test_custom.py
parentdc165ec8e5698ffc6dee6b510f1f92c9fd7467fe (diff)
Refs #23919 -- Replaced super(ClassName, self) with super().
Diffstat (limited to 'tests/template_tests/test_custom.py')
-rw-r--r--tests/template_tests/test_custom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_tests/test_custom.py b/tests/template_tests/test_custom.py
index 8eec22504c..5b788468b5 100644
--- a/tests/template_tests/test_custom.py
+++ b/tests/template_tests/test_custom.py
@@ -31,7 +31,7 @@ class TagTestCase(SimpleTestCase):
@classmethod
def setUpClass(cls):
cls.engine = Engine(app_dirs=True, libraries=LIBRARIES)
- super(TagTestCase, cls).setUpClass()
+ super().setUpClass()
def verify_tag(self, tag, name):
self.assertEqual(tag.__name__, name)
@@ -307,7 +307,7 @@ class TemplateTagLoadingTests(SimpleTestCase):
@classmethod
def setUpClass(cls):
cls.egg_dir = os.path.join(ROOT, 'eggs')
- super(TemplateTagLoadingTests, cls).setUpClass()
+ super().setUpClass()
def test_load_error(self):
msg = (