Explicitly set mode to 'w' when combining coverprofiles
This commit is contained in:
parent
d83210ca77
commit
463d4bada6
2
runtests
2
runtests
@ -149,7 +149,7 @@ def _go_version():
|
|||||||
|
|
||||||
|
|
||||||
def _combine_coverprofiles(coverprofiles):
|
def _combine_coverprofiles(coverprofiles):
|
||||||
tmp_args = dict(suffix='.coverprofile', delete=False)
|
tmp_args = dict(suffix='.coverprofile', mode='w', delete=False)
|
||||||
if _PY3:
|
if _PY3:
|
||||||
tmp_args['encoding'] = 'utf-8'
|
tmp_args['encoding'] = 'utf-8'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user