diff options
author | Vytis Banaitis <vytis.banaitis@gmail.com> | 2017-01-20 23:04:05 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-01-26 08:19:27 -0500 |
commit | d1bab24e0144d14513a1411503c95ececb425188 (patch) | |
tree | 187452bf7b66a9600abc47570ccae22e6d539ede /tests/datatypes | |
parent | 888c1e9bfe49135d049cbdcbbb0f2e97a1a0a1f5 (diff) | |
download | django-d1bab24e0144d14513a1411503c95ececb425188.tar.gz |
Refs #23919, #27778 -- Removed obsolete mentions of unicode.
Diffstat (limited to 'tests/datatypes')
-rw-r--r-- | tests/datatypes/tests.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/datatypes/tests.py b/tests/datatypes/tests.py index 5c3dffa457..52f24fe051 100644 --- a/tests/datatypes/tests.py +++ b/tests/datatypes/tests.py @@ -69,9 +69,8 @@ class DataTypesTestCase(TestCase): self.assertEqual(0, Donut.objects.filter(consumed_at__year=2005).count()) self.assertEqual(0, Donut.objects.filter(consumed_at__year=2008).count()) - def test_textfields_unicode(self): - """Regression test for #10238: TextField values returned from the - database should be unicode.""" + def test_textfields_str(self): + """TextField values returned from the database should be str.""" d = Donut.objects.create(name='Jelly Donut', review='Outstanding') newd = Donut.objects.get(id=d.id) self.assertIsInstance(newd.review, str) |