python-coverage/python-coverage-4.0a5-unicodefix.patch
2015-03-31 10:29:13 -04:00

10 lines
478 B
Diff

diff -up coverage-4.0a5/coverage/annotate.py.orig coverage-4.0a5/coverage/annotate.py
--- coverage-4.0a5/coverage/annotate.py.orig 2015-03-25 10:33:54.569942923 -0400
+++ coverage-4.0a5/coverage/annotate.py 2015-03-25 10:34:22.775668752 -0400
@@ -89,4 +89,4 @@ class AnnotateReporter(Reporter):
dest.write('> ')
else:
dest.write('! ')
- dest.write(line)
+ dest.write(line.encode('utf-8'))