mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-24 03:41:12 +00:00
tests: Explicitly define encoding for excuses
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
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…
x
Reference in New Issue
Block a user