From 267622b11b730ec69bf34202fc6258a2614394c5 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 10 Oct 2021 07:24:35 -0400 Subject: style: use the official designation for utf-8 Yes, this is completely unimportant. Don't ask me why I bothered, I'm not really sure. --- coverage/annotate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/annotate.py') diff --git a/coverage/annotate.py b/coverage/annotate.py index a6ee4636..9ca1b80a 100644 --- a/coverage/annotate.py +++ b/coverage/annotate.py @@ -73,7 +73,7 @@ class AnnotateReporter: else: dest_file = fr.filename + ",cover" - with open(dest_file, 'w', encoding='utf8') as dest: + with open(dest_file, 'w', encoding='utf-8') as dest: i = 0 j = 0 covered = True -- cgit v1.2.1