Antoine Pitrou <pit...@free.fr> added the comment: test_fileio and test_io both use "from __future__ import unicode_literals", which means classical string literals construct unicode strings rather than byte strings. So, yes, Pascal is right, this should be corrected (both the tests, and the implementation so that it refuses unicode arguments).
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8765> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com