summaryrefslogtreecommitdiff
path: root/testutils.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2014-04-15 18:49:50 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2014-04-15 18:49:50 +0200
commit5a48992e582b5c6dacdca456c7280c74e1f23603 (patch)
tree1ed2d527bbd123103f9e8e7c95464870847a50b4 /testutils.py
parent72f1d4f950bdd888aad2bfd1f70dcaa8c8d31dba (diff)
downloadpylint-5a48992e582b5c6dacdca456c7280c74e1f23603.tar.gz
various cleanups
Diffstat (limited to 'testutils.py')
-rw-r--r--testutils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testutils.py b/testutils.py
index 8d8064d..d60ab46 100644
--- a/testutils.py
+++ b/testutils.py
@@ -263,7 +263,8 @@ class LintTestUsingModule(testlib.TestCase):
self._test(tocheck)
def _check_result(self, got):
- self.assertMultiLineEqual(self._get_expected().strip(), got.strip())
+ self.assertMultiLineEqual(self._get_expected().strip()+'\n',
+ got.strip()+'\n')
def _test(self, tocheck):
if INFO_TEST_RGX.match(self.module):