diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-12-19 19:19:01 +0100 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-12-19 19:19:01 +0100 |
| commit | 98d324abffb2809ef1bdadeb375d48856486fb9a (patch) | |
| tree | 9b7ffc3a6c57dd2ef05e2a3d67042ca73da70f60 /testutils.py | |
| parent | 0dae865f1c85785219201d7fcc16988d08d1159e (diff) | |
| download | pylint-git-98d324abffb2809ef1bdadeb375d48856486fb9a.tar.gz | |
testutils: open messge file using Universal new lines mode to avoid failure due to do Windows/Unix CRLF pbs
Diffstat (limited to 'testutils.py')
| -rw-r--r-- | testutils.py | 2 |
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 |
