1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews.
This commit is contained in:
Claude Paroz
2016-12-29 16:27:49 +01:00
parent f6acd1d271
commit 7b2f2e74ad
213 changed files with 574 additions and 763 deletions

View File

@@ -20,7 +20,6 @@ from django.db.models.sql import constants
from django.db.models.sql.datastructures import Join
from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature
from django.test.utils import Approximate
from django.utils import six
from .models import (
UUID, Company, Employee, Experiment, Number, Result, SimulationRun, Time,
@@ -202,7 +201,7 @@ class BasicExpressionsTests(TestCase):
"Frank Meyer",
"Max Mustermann",
],
lambda c: six.text_type(c.point_of_contact),
lambda c: str(c.point_of_contact),
ordered=False
)