summaryrefslogtreecommitdiff
path: root/coverage
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-12-23 12:32:55 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-12-23 12:32:55 -0500
commita5e8362aa4d30767f07cb7bbf7b82269cf484f40 (patch)
treec146eed1748a213dd2a186b5427331db35b48890 /coverage
parent6a1feda0d8838c99efce21c78dc662985358a6d7 (diff)
downloadpython-coveragepy-git-a5e8362aa4d30767f07cb7bbf7b82269cf484f40.tar.gz
Include default encodings in the debug output
Diffstat (limited to 'coverage')
-rw-r--r--coverage/control.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 2eeec85c..ea6698d4 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -873,6 +873,8 @@ class Coverage(object):
('platform', platform.platform()),
('implementation', platform.python_implementation()),
('executable', sys.executable),
+ ('def_encoding', sys.getdefaultencoding()),
+ ('fs_encoding', sys.getfilesystemencoding()),
('pid', os.getpid()),
('cwd', os.getcwd()),
('path', sys.path),