mirror of
https://github.com/django/django.git
synced 2025-11-02 21:03:53 +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:
parent
822d6d6dab
commit
38408f8007
44 changed files with 296 additions and 295 deletions
|
|
@ -280,7 +280,7 @@ class AdminFileWidgetTest(DjangoTestCase):
|
|||
)
|
||||
|
||||
self.assertHTMLEqual(
|
||||
conditional_escape(w.render('test', SimpleUploadedFile('test', 'content'))),
|
||||
conditional_escape(w.render('test', SimpleUploadedFile('test', b'content'))),
|
||||
'<input type="file" name="test" />',
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue