From 3200cfbd72811f35f35be381c0a0b23fb86889d8 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Thu, 21 Dec 2017 11:46:41 -0500 Subject: [PATCH] Python 3 port: ignore pylint suggestion on a mandatory "ctx" parameter That is already used when the detected version is Python 3, but pylint doesn't know about it, so let's make it ignore that. Signed-off-by: Cleber Rosa --- avocado/core/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avocado/core/runner.py b/avocado/core/runner.py index a5324716..410a35f9 100644 --- a/avocado/core/runner.py +++ b/avocado/core/runner.py @@ -584,7 +584,7 @@ class TestRunner(object): ctx = multiprocessing.get_context('spawn') queue = queues.SimpleQueue(ctx=ctx) # pylint: disable=E1123 else: - queue = queues.SimpleQueue() + queue = queues.SimpleQueue() # pylint: disable=E1125 if timeout > 0: deadline = time.time() + timeout -- GitLab