parent
c9874976bb
commit
f991ffc52f
@ -1,19 +0,0 @@
|
|||||||
# HG changeset patch
|
|
||||||
# User Ned Batchelder <ned@nedbatchelder.com>
|
|
||||||
# Date 1349312975 14400
|
|
||||||
# Node ID 16020b834643bb8b9953b8d4bcc09691deb549b9
|
|
||||||
# Parent 70e174f7312c87101b0b5be7ec7dd1acf7869f12
|
|
||||||
Fix #193: The status.dat file written by py2 can't be read by py3
|
|
||||||
|
|
||||||
diff -r 70e174f7312c87101b0b5be7ec7dd1acf7869f12 -r 16020b834643bb8b9953b8d4bcc09691deb549b9 coverage/html.py
|
|
||||||
--- a/coverage/html.py Wed Oct 03 07:48:04 2012 -0400
|
|
||||||
+++ b/coverage/html.py Wed Oct 03 21:09:35 2012 -0400
|
|
||||||
@@ -281,7 +281,7 @@
|
|
||||||
status = pickle.load(fstatus)
|
|
||||||
finally:
|
|
||||||
fstatus.close()
|
|
||||||
- except IOError:
|
|
||||||
+ except (IOError, ValueError):
|
|
||||||
usable = False
|
|
||||||
else:
|
|
||||||
usable = True
|
|
@ -1,9 +0,0 @@
|
|||||||
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'))
|
|
Loading…
Reference in new issue