提交 3200cfbd 编写于 作者: C Cleber Rosa

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: NCleber Rosa <crosa@redhat.com>
上级 a08d4e81
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册