summaryrefslogtreecommitdiff
path: root/testutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'testutils.py')
-rw-r--r--testutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testutils.py b/testutils.py
index e939e5131..8a0eacab9 100644
--- a/testutils.py
+++ b/testutils.py
@@ -253,7 +253,7 @@ class LintTestUsingModule(testlib.TestCase):
if self.module.startswith('func_noerror_'):
expected = ''
else:
- output = open(self.output)
+ output = open(self.output, 'U')
expected = output.read().strip() + '\n'
output.close()
return expected