summaryrefslogtreecommitdiff
path: root/tests/model_fields/test_foreignkey.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_fields/test_foreignkey.py')
-rw-r--r--tests/model_fields/test_foreignkey.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/model_fields/test_foreignkey.py b/tests/model_fields/test_foreignkey.py
index a521d1aa23..2580e3b650 100644
--- a/tests/model_fields/test_foreignkey.py
+++ b/tests/model_fields/test_foreignkey.py
@@ -5,7 +5,6 @@ from django.core import checks
from django.db import models
from django.test import TestCase, skipIfDBFeature
from django.test.utils import isolate_apps
-from django.utils import six
from .models import Bar, FkToChar, Foo, PrimaryKeyCharModel
@@ -50,7 +49,7 @@ class ForeignKeyTests(TestCase):
def test_related_name_converted_to_text(self):
rel_name = Bar._meta.get_field('a').remote_field.related_name
- self.assertIsInstance(rel_name, six.text_type)
+ self.assertIsInstance(rel_name, str)
def test_abstract_model_pending_operations(self):
"""