diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2017-04-22 16:34:30 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-04-22 16:34:30 -0400 |
| commit | dff7396f52d4540b6831ad8043d1aa4cc0136f15 (patch) | |
| tree | fa7d64d04521fd432036b55628e7bf94fed8b90e /tests | |
| parent | 83085e033fd804685509636f9fa325141a8c8c06 (diff) | |
| download | python-coveragepy-dff7396f52d4540b6831ad8043d1aa4cc0136f15.tar.gz | |
Update to pylint 1.7.1
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_cmdline.py | 2 | ||||
| -rw-r--r-- | tests/test_process.py | 2 | ||||
| -rw-r--r-- | tests/test_summary.py | 1 |
3 files changed, 1 insertions, 4 deletions
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) |
