summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/covmodzip1.py2
-rw-r--r--tests/test_cmdline.py2
-rw-r--r--tests/test_context.py4
-rw-r--r--tests/test_process.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/covmodzip1.py b/tests/covmodzip1.py
index 0133ed6a..c4867e17 100644
--- a/tests/covmodzip1.py
+++ b/tests/covmodzip1.py
@@ -3,7 +3,7 @@
# Module-level docstrings are counted differently in different versions of Python,
# so don't add one here.
-# pylint: disable=missing-docstring
+# pylint: disable=missing-module-docstring
# covmodzip.py: for putting into a zip file.
j = 1
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index e15c5fcb..26624b19 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -904,7 +904,7 @@ class CmdMainTest(CoverageTest):
class CoverageReportingFake(object):
"""A fake Coverage.coverage test double."""
- # pylint: disable=missing-docstring
+ # pylint: disable=missing-function-docstring
def __init__(self, report_result, html_result, xml_result, json_report):
self.config = CoverageConfig()
self.report_result = report_result
diff --git a/tests/test_context.py b/tests/test_context.py
index b002b603..137300a5 100644
--- a/tests/test_context.py
+++ b/tests/test_context.py
@@ -201,7 +201,7 @@ def get_qualname():
caller_frame = stack[0][0]
return qualname_from_frame(caller_frame)
-# pylint: disable=missing-docstring, unused-argument
+# pylint: disable=missing-class-docstring, missing-function-docstring, unused-argument
class Parent(object):
def meth(self):
@@ -239,7 +239,7 @@ class OldStyle:
class OldChild(OldStyle):
pass
-# pylint: enable=missing-docstring, unused-argument
+# pylint: enable=missing-class-docstring, missing-function-docstring, unused-argument
class QualnameTest(CoverageTest):
diff --git a/tests/test_process.py b/tests/test_process.py
index 4298244a..98134d2d 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -4,7 +4,7 @@
"""Tests for process behavior of coverage.py."""
-import distutils.sysconfig # pylint: disable=import-error
+import distutils.sysconfig
import glob
import os
import os.path