summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-04-22 16:34:30 -0400
committerNed Batchelder <ned@nedbatchelder.com>2017-04-22 16:34:30 -0400
commitc3babc0ab961982981e08e5b302f7f54039c7570 (patch)
tree11a30fc815f6faa877930db3998c9a74b6f1db50 /tests
parent9bf5189621f0805b11deb6cf08fe749e746fdf55 (diff)
downloadpython-coveragepy-git-c3babc0ab961982981e08e5b302f7f54039c7570.tar.gz
Update to pylint 1.7.1
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmdline.py2
-rw-r--r--tests/test_process.py2
-rw-r--r--tests/test_summary.py1
3 files changed, 1 insertions, 4 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 30fb06ee..2378887a 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 2f30fa1f..8a0f4e3b 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 752a1776..7c9f4c12 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)