Explicitly set mode to 'w' when combining coverprofiles

main
Dan Buch 7 years ago
parent d83210ca77
commit 463d4bada6
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

@ -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…
Cancel
Save