diff options
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 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) |