From ce85550a4bf080e629fbf1443d31a5305c0e0ac3 2012-08-21 16:18:37 From: Takafumi Arakaki Date: 2012-08-21 16:18:37 Subject: [PATCH] Fix failing test in Python 3 --- diff --git a/IPython/utils/tests/test_tempdir.py b/IPython/utils/tests/test_tempdir.py index 5935cc7..8e919e5 100644 --- a/IPython/utils/tests/test_tempdir.py +++ b/IPython/utils/tests/test_tempdir.py @@ -15,6 +15,6 @@ def test_named_file_in_temporary_directory(): name = file.name assert not file.closed assert os.path.exists(name) - file.write('test') + file.write(b'test') assert file.closed assert not os.path.exists(name)