summaryrefslogtreecommitdiff
path: root/tests/one_to_one
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/one_to_one
parent397b3705c5f762b359cdb494f9447c8a60685adf (diff)
downloaddjango-d7b9aaa366dd54ecc3142c588162e3adc7c2f7ac.tar.gz
Refs #23919 -- Removed encoding preambles and future imports
Diffstat (limited to 'tests/one_to_one')
-rw-r--r--tests/one_to_one/models.py2
-rw-r--r--tests/one_to_one/tests.py2
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/one_to_one/models.py b/tests/one_to_one/models.py
index 0f4aa70f6c..c58114dce8 100644
--- a/tests/one_to_one/models.py
+++ b/tests/one_to_one/models.py
@@ -5,8 +5,6 @@ To define a one-to-one relationship, use ``OneToOneField()``.
In this example, a ``Place`` optionally can be a ``Restaurant``.
"""
-from __future__ import unicode_literals
-
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
diff --git a/tests/one_to_one/tests.py b/tests/one_to_one/tests.py
index 3d98d78c27..2fb118538d 100644
--- a/tests/one_to_one/tests.py
+++ b/tests/one_to_one/tests.py
@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
from django.db import IntegrityError, connection, transaction
from django.test import TestCase