mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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, Book, Car, PersonManager, PublishedBookManager
|
||||
|
||||
@@ -14,7 +15,7 @@ class CustomManagerTests(TestCase):
|
||||
Person.objects.get_fun_people(), [
|
||||
"Bugs Bunny"
|
||||
],
|
||||
unicode
|
||||
six.text_type
|
||||
)
|
||||
# The RelatedManager used on the 'books' descriptor extends the default
|
||||
# manager
|
||||
|
||||
Reference in New Issue
Block a user