summaryrefslogtreecommitdiff
path: root/coverage/inorout.py
diff options
context:
space:
mode:
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"