python-coverage/python-coverage-4.0a5-unicodefix.patch

10 lines
478 B
Diff
Raw Normal View History

2015-03-31 14:29:13 +00:00
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'))