diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-26 12:01:45 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-26 12:01:45 -0500 |
commit | f3338803b7b8b4cda34270c4fbf951ad74913980 (patch) | |
tree | c94614f6c4b0eb036430135c885b0089c60f3718 /tests/test_summary.py | |
parent | 198a11535b5065416c41e7fdc025718c1a92eff3 (diff) | |
download | python-coveragepy-git-f3338803b7b8b4cda34270c4fbf951ad74913980.tar.gz |
build: update to latest pylint
Diffstat (limited to 'tests/test_summary.py')
-rw-r--r-- | tests/test_summary.py | 6 |
1 files changed, 3 insertions, 3 deletions
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. |