mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Marked bytestrings with b prefix. Refs #18269
This is a preparation for unicode literals general usage in Django (Python 3 compatibility).
This commit is contained in:
@@ -170,7 +170,7 @@ class UtilTests(unittest.TestCase):
|
||||
)
|
||||
self.assertEqual(
|
||||
label_for_field("__str__", Article),
|
||||
"article"
|
||||
b"article"
|
||||
)
|
||||
|
||||
self.assertRaises(
|
||||
|
||||
Reference in New Issue
Block a user