[py3] Fix some more encoding issues in tests

This commit is contained in:
Claude Paroz 2012-08-15 17:41:09 +02:00
parent 518af78e21
commit a9facb455f
4 changed files with 10 additions and 9 deletions

View file

@ -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):
"""