summaryrefslogtreecommitdiff
path: root/coverage/inorout.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/inorout.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/inorout.py')
-rw-r--r--coverage/inorout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/inorout.py b/coverage/inorout.py
index 75b0a9cc..496ced35 100644
--- a/coverage/inorout.py
+++ b/coverage/inorout.py
@@ -432,7 +432,7 @@ class InOrOut:
# No point tracing a file we can't later write to SQLite.
try:
- filename.encode("utf8")
+ filename.encode("utf-8")
except UnicodeEncodeError:
return "non-encodable filename"