From dff7396f52d4540b6831ad8043d1aa4cc0136f15 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 22 Apr 2017 16:34:30 -0400 Subject: Update to pylint 1.7.1 --- tests/test_cmdline.py | 2 +- tests/test_process.py | 2 -- tests/test_summary.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py index 30fb06e..2378887 100644 --- a/tests/test_cmdline.py +++ b/tests/test_cmdline.py @@ -99,7 +99,7 @@ class BaseCmdLineTest(CoverageTest): # calls them with many. But most of them are just the defaults, which # we don't want to have to repeat in all tests. For each call, apply # the defaults. This lets the tests just mention the interesting ones. - for name, args, kwargs in m2.method_calls: + for name, _, kwargs in m2.method_calls: for k, v in self.DEFAULT_KWARGS.get(name, {}).items(): if k not in kwargs: kwargs[k] = v diff --git a/tests/test_process.py b/tests/test_process.py index 2f30fa1..8a0f4e3 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -1022,7 +1022,6 @@ class UnicodeFilePathsTest(CoverageTest): ) if env.PY2: - # pylint: disable=redefined-variable-type report_expected = report_expected.encode(output_encoding()) out = self.run_command("coverage report") @@ -1061,7 +1060,6 @@ class UnicodeFilePathsTest(CoverageTest): ) if env.PY2: - # pylint: disable=redefined-variable-type report_expected = report_expected.encode(output_encoding()) out = self.run_command("coverage report") diff --git a/tests/test_summary.py b/tests/test_summary.py index 752a177..7c9f4c1 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -444,7 +444,6 @@ class SummaryTest(CoverageTest): u"Couldn't parse 'accented\xe2.py' as Python source: 'error' at line 1" ) if env.PY2: - # pylint: disable=redefined-variable-type expected = expected.encode(output_encoding()) self.assertEqual(errmsg, expected) -- cgit v1.2.1