From f3338803b7b8b4cda34270c4fbf951ad74913980 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 26 Feb 2021 12:01:45 -0500 Subject: build: update to latest pylint --- tests/test_summary.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_summary.py') diff --git a/tests/test_summary.py b/tests/test_summary.py index 0632c8f5..36f3885c 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -677,7 +677,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest): """) cov = coverage.Coverage(branch=True, source=["."]) cov.start() - import main # pragma: nested # pylint: disable=unused-import + import main # pragma: nested # pylint: disable=unused-import, import-error cov.stop() # pragma: nested report = self.get_report(cov).splitlines() assert "mybranch.py 5 5 2 0 0%" in report @@ -739,7 +739,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest): # Run the program. cov = coverage.Coverage() cov.start() - import main # pragma: nested # pylint: disable=unused-import + import main # pragma: nested # pylint: disable=unused-import, import-error cov.stop() # pragma: nested report = self.get_report(cov).splitlines() @@ -766,7 +766,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest): # Run the program. cov = coverage.Coverage() cov.start() - import main # pragma: nested # pylint: disable=unused-import + import main # pragma: nested # pylint: disable=unused-import, import-error cov.stop() # pragma: nested # Put back the missing Python file. -- cgit v1.2.1