mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-09 16:51:33 +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, '')
|
self.assertEqual(err, '')
|
||||||
|
|
||||||
with open(os.path.join(self.data.path, 'output',
|
with open(os.path.join(self.data.path, 'output',
|
||||||
'excuses.yaml')) as f:
|
'excuses.yaml'), encoding='utf-8') as f:
|
||||||
yaml = f.read()
|
yaml = f.read()
|
||||||
with open(os.path.join(self.data.path, 'output',
|
with open(os.path.join(self.data.path, 'output',
|
||||||
'excuses.html')) as f:
|
'excuses.html'), encoding='utf-8') as f:
|
||||||
html = f.read()
|
html = f.read()
|
||||||
|
|
||||||
return (yaml, html, out)
|
return (yaml, html, out)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user