summaryrefslogtreecommitdiff
path: root/pylint/test/unittest_lint.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2015-07-26 10:52:05 +0200
committerFlorian Bruhin <me@the-compiler.org>2015-07-26 10:52:05 +0200
commit11ed7046595d001c6c6ab7d46a1f5483e0af9557 (patch)
treee62f88a7ad06848fe7a8d537eb8f6d89a624b896 /pylint/test/unittest_lint.py
parent67ec771d705023fff5d88b5490bbd0272f4c108e (diff)
downloadpylint-git-11ed7046595d001c6c6ab7d46a1f5483e0af9557.tar.gz
Get rid of logilab.common.optik_ext and logilab.common.textutils.
--HG-- branch : no-logilab-common
Diffstat (limited to 'pylint/test/unittest_lint.py')
-rw-r--r--pylint/test/unittest_lint.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/pylint/test/unittest_lint.py b/pylint/test/unittest_lint.py
index bb137d452..f756702d4 100644
--- a/pylint/test/unittest_lint.py
+++ b/pylint/test/unittest_lint.py
@@ -622,14 +622,7 @@ class MessagesStoreTC(unittest.TestCase):
self.store.register_messages(Checker())
def _compare_messages(self, desc, msg, checkerref=False):
- # replace \r\n with \n, because
- # logilab.common.textutils.normalize_text
- # uses os.linesep, which will
- # not properly compare with triple
- # quoted multilines used in these tests
- self.assertMultiLineEqual(
- desc,
- msg.format_help(checkerref=checkerref).replace('\r\n', '\n'))
+ self.assertMultiLineEqual(desc, msg.format_help(checkerref=checkerref))
def test_check_message_id(self):
self.assertIsInstance(self.store.check_message_id('W1234'),