From fcd0d50f8b952cc70f65639742cee5e194d84401 Mon Sep 17 00:00:00 2001 From: toonn Date: Sat, 5 Feb 2022 16:43:36 +0100 Subject: test_py2_compat: Message was renamed to MessageTest --- tests/pylint/test_py2_compat.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/pylint/test_py2_compat.py b/tests/pylint/test_py2_compat.py index 7156aba7..2eb51599 100644 --- a/tests/pylint/test_py2_compat.py +++ b/tests/pylint/test_py2_compat.py @@ -22,7 +22,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase): """) with self.assertAddsMessages( - pylint.testutils.Message( + pylint.testutils.MessageTest( msg_id='old-style-class', node=oldstyle_class, ), @@ -53,7 +53,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase): """) with self.assertAddsMessages( - pylint.testutils.Message( + pylint.testutils.MessageTest( msg_id='print-without-import', node=print_function_call, ), @@ -92,7 +92,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase): """) with self.assertAddsMessages( - pylint.testutils.Message( + pylint.testutils.MessageTest( msg_id='print-without-import', node=early_print_function_call, ), @@ -108,7 +108,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase): """) with self.assertAddsMessages( - pylint.testutils.Message( + pylint.testutils.MessageTest( msg_id='implicit-format-spec', node=implicit_format_spec, ), @@ -131,7 +131,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase): """) with self.assertAddsMessages( - pylint.testutils.Message( + pylint.testutils.MessageTest( msg_id='with-popen23', node=with_Popen, ), @@ -148,7 +148,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase): # """) # with self.assertAddsMessages( - # pylint.testutils.Message( + # pylint.testutils.MessageTest( # msg_id='division-without-import', # node=division, # ), @@ -170,7 +170,7 @@ class TestPy2CompatibilityChecker(pylint.testutils.CheckerTestCase): # """) # with self.assertAddsMessages( - # pylint.testutils.Message( + # pylint.testutils.MessageTest( # msg_id='old-no-absolute-import', # node=no_import, # ), -- cgit 1.4.1-2-gfad0