summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/backtest.py2
-rw-r--r--tests/test_concurrency.py6
-rw-r--r--tests/test_summary.py1
-rw-r--r--tests/test_templite.py4
4 files changed, 5 insertions, 8 deletions
diff --git a/tests/backtest.py b/tests/backtest.py
index 439493d1..1b38cce1 100644
--- a/tests/backtest.py
+++ b/tests/backtest.py
@@ -20,7 +20,7 @@ def run_command(cmd):
stderr=subprocess.STDOUT
)
output, _ = proc.communicate()
- status = proc.returncode # pylint: disable=E1101
+ status = proc.returncode
# Get the output, and canonicalize it to strings with newlines.
if not isinstance(output, str):
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index 6fbac4a6..02163d2f 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -10,17 +10,17 @@ from tests.coveragetest import CoverageTest
# These libraries aren't always available, we'll skip tests if they aren't.
try:
- import eventlet # pylint: disable=import-error
+ import eventlet
except ImportError:
eventlet = None
try:
- import gevent # pylint: disable=import-error
+ import gevent
except ImportError:
gevent = None
try:
- import greenlet # pylint: disable=import-error
+ import greenlet
except ImportError:
greenlet = None
diff --git a/tests/test_summary.py b/tests/test_summary.py
index ce668f76..c8364ca5 100644
--- a/tests/test_summary.py
+++ b/tests/test_summary.py
@@ -201,7 +201,6 @@ class SummaryTest(CoverageTest):
self.assertEqual(out, 'x\ny\n')
report = self.report_from_command("coverage report --show-missing")
- # pylint: disable=C0301
# Name Stmts Miss Branch BrPart Cover Missing
# -------------------------------------------------------
# main 1 0 0 0 100%
diff --git a/tests/test_templite.py b/tests/test_templite.py
index aa697b78..b3e21e70 100644
--- a/tests/test_templite.py
+++ b/tests/test_templite.py
@@ -4,9 +4,7 @@ import re
from coverage.templite import Templite, TempliteSyntaxError
from tests.coveragetest import CoverageTest
-# pylint: disable=W0612,E1101
-# Disable W0612 (Unused variable) and
-# E1101 (Instance of 'foo' has no 'bar' member)
+# pylint: disable=unused-variable
class AnyOldObject(object):
"""Simple testing object.