From 463d4bada6238cd0e21cd2e778f4ae6163fdf1b7 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sat, 12 Aug 2017 22:21:53 -0400 Subject: [PATCH] Explicitly set mode to 'w' when combining coverprofiles --- runtests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtests b/runtests index d5e6933..f5064a2 100755 --- a/runtests +++ b/runtests @@ -149,7 +149,7 @@ def _go_version(): def _combine_coverprofiles(coverprofiles): - tmp_args = dict(suffix='.coverprofile', delete=False) + tmp_args = dict(suffix='.coverprofile', mode='w', delete=False) if _PY3: tmp_args['encoding'] = 'utf-8'