danielfm/unittest-xml-reporting — pull request #46 by drewcrawford (2014-01-31 06:37:20+00:00)
Title: Fixing #45

This fixes an issue when installing on Debian and Python 3.3. This patch is released under the GNU LGPL v3.

It's not immediately clear to me why this issue reproduces on Debian and not other unixes (OSX 10.9 was also tested and worked fine either way). The documentation for [open](http://docs.python.org/2/library/functions.html#open) suggests the use of binary mode as implemented "will improve portability" so presumably there is some platform default at work here.

This was tested on Python 3.3/Debian and a perusal of the 2.x documentation suggests nothing bad will happen in 2.7.6, but I have not actually tried it.