summaryrefslogtreecommitdiff
path: root/tests/template_tests/test_logging.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template_tests/test_logging.py')
-rw-r--r--tests/template_tests/test_logging.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_tests/test_logging.py b/tests/template_tests/test_logging.py
index e03809d864..802015cf97 100644
--- a/tests/template_tests/test_logging.py
+++ b/tests/template_tests/test_logging.py
@@ -7,7 +7,7 @@ from django.utils.deprecation import RemovedInDjango21Warning
class TestHandler(logging.Handler):
def __init__(self):
- super(TestHandler, self).__init__()
+ super().__init__()
self.log_record = None
def emit(self, record):
@@ -88,7 +88,7 @@ class IncludeNodeLoggingTests(BaseTemplateLoggingTestCase):
@classmethod
def setUpClass(cls):
- super(IncludeNodeLoggingTests, cls).setUpClass()
+ super().setUpClass()
cls.engine = Engine(loaders=[
('django.template.loaders.locmem.Loader', {
'child': '{{ raises_exception }}',