summaryrefslogtreecommitdiff
path: root/tests/template_backends
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-11-19 18:19:41 +0100
committerClaude Paroz <claude@2xlibre.net>2017-01-18 09:55:19 +0100
commitd7b9aaa366dd54ecc3142c588162e3adc7c2f7ac (patch)
treec7faf11a6f6c14981a08a621c36e6f736b21dd8b /tests/template_backends
parent397b3705c5f762b359cdb494f9447c8a60685adf (diff)
downloaddjango-d7b9aaa366dd54ecc3142c588162e3adc7c2f7ac.tar.gz
Refs #23919 -- Removed encoding preambles and future imports
Diffstat (limited to 'tests/template_backends')
-rw-r--r--tests/template_backends/test_dummy.py4
-rw-r--r--tests/template_backends/test_jinja2.py4
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/template_backends/test_dummy.py b/tests/template_backends/test_dummy.py
index 83b42c7eb4..dededfe390 100644
--- a/tests/template_backends/test_dummy.py
+++ b/tests/template_backends/test_dummy.py
@@ -1,7 +1,3 @@
-# coding: utf-8
-
-from __future__ import unicode_literals
-
import re
from django.forms import CharField, Form, Media
diff --git a/tests/template_backends/test_jinja2.py b/tests/template_backends/test_jinja2.py
index a79c6bc460..117719fa0d 100644
--- a/tests/template_backends/test_jinja2.py
+++ b/tests/template_backends/test_jinja2.py
@@ -1,7 +1,3 @@
-# Since this package contains a "jinja2" directory, this is required to
-# silence an ImportWarning warning on Python 2.
-from __future__ import absolute_import
-
from unittest import skipIf
from django.template import TemplateSyntaxError