From 3cfa0f7586ffd1028f69236b4ba0a87de1c48369 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Fri, 1 Dec 2017 08:41:08 -0500 Subject: [PATCH] Make pylint happy for test_editor_bdd. windows has no SIGUSR1, but we don't run this on windows anyways for posix, there IS a member so we need to ignore useless-suppression --- tests/end2end/features/test_editor_bdd.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/end2end/features/test_editor_bdd.py b/tests/end2end/features/test_editor_bdd.py index 983ded7ba..1aa253ac1 100644 --- a/tests/end2end/features/test_editor_bdd.py +++ b/tests/end2end/features/test_editor_bdd.py @@ -94,4 +94,7 @@ def kill_editor_wait(quteproc, server, tmpdir): """Kill the waiting editor.""" pidfile = tmpdir / 'editor_pid' pid = int(pidfile.read()) + # windows has no SIGUSR1, but we don't run this on windows anyways + # for posix, there IS a member so we need to ignore useless-suppression + # pylint: disable=no-member,useless-suppression os.kill(pid, signal.SIGUSR1)