This failure only happens on Solaris. It is similar to the bug here: https://bugs.python.org/issue14847.
====================================================================== ERROR [0.007s]: test_write_error_text_handling (test_collection.TestCollection) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/mci/8da2c4eb0b7dadf50ff34fbefb2c1ae7/src/test/test_collection.py", line 1192, in test_write_error_text_handling text = data.decode("utf8") File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) AttributeError: 'NoneType' object has no attribute 'utf_8_decode'