summaryrefslogtreecommitdiff
path: root/coverage/annotate.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-10 07:24:35 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-10 07:24:35 -0400
commit267622b11b730ec69bf34202fc6258a2614394c5 (patch)
tree2196c4a5b3d740efca14567de2d0fd33f33db44b /coverage/annotate.py
parent498b1484e466588a22cef520095f1fd0ed8b8ff8 (diff)
downloadpython-coveragepy-git-267622b11b730ec69bf34202fc6258a2614394c5.tar.gz
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.
Diffstat (limited to 'coverage/annotate.py')
-rw-r--r--coverage/annotate.py2
1 files changed, 1 insertions, 1 deletions
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