diff options
Diffstat (limited to 'coverage/config.py')
-rw-r--r-- | coverage/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/config.py b/coverage/config.py index d16c9d6e..6d336d1f 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -325,7 +325,7 @@ class CoverageConfig(object): if used: self.config_file = os.path.abspath(filename) - with open(filename) as f: + with open(filename, "rb") as f: self._config_contents = f.read() return used |