diff options
author | John Szakmeister <john@szakmeister.net> | 2013-08-11 05:51:55 -0400 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2013-08-11 10:12:25 -0400 |
commit | a248e37ad5b20ead46583afbd2821b9d68c640c8 (patch) | |
tree | c0a4c702d7e1bcd3c410ada90e04748a5b1a5741 /nose/plugins/attrib.py | |
parent | 47c8d89e601e93e0606f810d1cb75f834fd81f77 (diff) | |
download | nose-a248e37ad5b20ead46583afbd2821b9d68c640c8.tar.gz |
Fix #720: nose with detailed errors raises encoding error
In this case, the exception vector being passed in was a string that
contained encoded UTF-8 sequences. It was being converted to unicode
implicitly, which was raising a UnicodeDecodeError because some bytes
were >= 128. Make sure the exception string is converted to unicode
before trying to put the whole thing together.
Thanks to Guillaume Ayoub for the test case.
Diffstat (limited to 'nose/plugins/attrib.py')
0 files changed, 0 insertions, 0 deletions