diff options
author | toonn <toonn@toonn.io> | 2022-02-05 16:43:36 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2022-02-05 16:43:36 +0100 |
commit | fcd0d50f8b952cc70f65639742cee5e194d84401 (patch) | |
tree | 42023e72de3ccb20318011a8bf5097dfc80ae920 /tests | |
parent | 035eecbcfb0f1812d695a53b0929b3c6500f83ed (diff) | |
download | ranger-fcd0d50f8b952cc70f65639742cee5e194d84401.tar.gz |
test_py2_compat: Message was renamed to MessageTest
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pylint/test_py2_compat.py | 14 |
1 files 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, # ), |