mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[py3] Replaced unicode/str by six.text_type/bytes.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from django.test import TestCase
|
||||
from django.utils import six
|
||||
|
||||
from .models import Person
|
||||
|
||||
@@ -19,7 +20,7 @@ class SaveDeleteHookTests(TestCase):
|
||||
Person.objects.all(), [
|
||||
"John Smith",
|
||||
],
|
||||
unicode
|
||||
six.text_type
|
||||
)
|
||||
|
||||
p.delete()
|
||||
|
||||
Reference in New Issue
Block a user