mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
[py3] Fix some more encoding issues in tests
This commit is contained in:
parent
518af78e21
commit
a9facb455f
4 changed files with 10 additions and 9 deletions
|
@ -144,7 +144,7 @@ class LiveServerDatabase(LiveServerBase):
|
|||
Refs #2879.
|
||||
"""
|
||||
f = self.urlopen('/model_view/')
|
||||
self.assertEqual(f.read().splitlines(), ['jane', 'robert'])
|
||||
self.assertEqual(f.read().splitlines(), [b'jane', b'robert'])
|
||||
|
||||
def test_database_writes(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue