mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +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
|
@ -1,6 +1,5 @@
|
|||
from django.forms.models import ModelForm, inlineformset_factory
|
||||
from django.test import TestCase, skipUnlessDBFeature
|
||||
from django.utils import six
|
||||
|
||||
from .models import Child, Parent, Poem, Poet, School
|
||||
|
||||
|
@ -65,8 +64,8 @@ class DeletionTests(TestCase):
|
|||
'poem_set-TOTAL_FORMS': '1',
|
||||
'poem_set-INITIAL_FORMS': '1',
|
||||
'poem_set-MAX_NUM_FORMS': '0',
|
||||
'poem_set-0-id': six.text_type(poem.id),
|
||||
'poem_set-0-poem': six.text_type(poem.id),
|
||||
'poem_set-0-id': str(poem.id),
|
||||
'poem_set-0-poem': str(poem.id),
|
||||
'poem_set-0-name': 'x' * 1000,
|
||||
}
|
||||
formset = PoemFormSet(data, instance=poet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue