mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
This commit is contained in:
parent
f6acd1d271
commit
7b2f2e74ad
213 changed files with 574 additions and 763 deletions
|
@ -17,7 +17,7 @@ from django.core.files.uploadedfile import SimpleUploadedFile
|
|||
from django.db.models import CharField, DateField, DateTimeField
|
||||
from django.test import SimpleTestCase, TestCase, override_settings
|
||||
from django.urls import reverse
|
||||
from django.utils import six, translation
|
||||
from django.utils import translation
|
||||
|
||||
from .models import (
|
||||
Advisor, Album, Band, Bee, Car, Company, Event, Honeycomb, Individual,
|
||||
|
@ -180,7 +180,7 @@ class AdminFormfieldForDBFieldTests(SimpleTestCase):
|
|||
ma = AdvisorAdmin(Advisor, admin.site)
|
||||
f = ma.formfield_for_dbfield(Advisor._meta.get_field('companies'), request=None)
|
||||
self.assertEqual(
|
||||
six.text_type(f.help_text),
|
||||
f.help_text,
|
||||
'Hold down "Control", or "Command" on a Mac, to select more than one.'
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue