diff options
Diffstat (limited to 'tests/testutils/__init__.py')
-rw-r--r-- | tests/testutils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutils/__init__.py b/tests/testutils/__init__.py index 60765af..0ba0912 100644 --- a/tests/testutils/__init__.py +++ b/tests/testutils/__init__.py @@ -80,7 +80,7 @@ def get_dch_default_urgency(): pass else: if ret == 0: - with open(tmp_dch_name) as dchfile: + with open(tmp_dch_name, encoding='utf-8') as dchfile: header = dchfile.readline().strip() urgency = header.split()[-1].replace('urgency=', '') finally: |