From 4802674cb34a86325baccb36eb439a46fd89ec8b 2013-10-23 00:32:24 From: MinRK Date: 2013-10-23 00:32:24 Subject: [PATCH] py3k bytes, for crying out loud --- diff --git a/IPython/html/tests/test_files.py b/IPython/html/tests/test_files.py index fc6b239..cdc3cc1 100644 --- a/IPython/html/tests/test_files.py +++ b/IPython/html/tests/test_files.py @@ -40,7 +40,7 @@ class FilesTest(NotebookTestBase): path = pjoin(nbdir, d.replace('/', os.path.sep)) r = requests.get(url_path_join(url, 'files', d, 'foo')) r.raise_for_status() - self.assertEqual(r.content, u'foo') + self.assertEqual(r.content, b'foo') r = requests.get(url_path_join(url, 'files', d, '.foo')) self.assertEqual(r.status_code, 403)