tests: Explicitly define encoding for excuses

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 7 years ago
parent f03f59548d
commit b5319e33fa

@ -420,10 +420,10 @@ ADT_REGRESSION_PENALTY =
self.assertEqual(err, '')
with open(os.path.join(self.data.path, 'output',
'excuses.yaml')) as f:
'excuses.yaml'), encoding='utf-8') as f:
yaml = f.read()
with open(os.path.join(self.data.path, 'output',
'excuses.html')) as f:
'excuses.html'), encoding='utf-8') as f:
html = f.read()
return (yaml, html, out)

Loading…
Cancel
Save