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
This commit is contained in:
parent
1102ae4d7e
commit
3cfa0f7586
@ -94,4 +94,7 @@ def kill_editor_wait(quteproc, server, tmpdir):
|
|||||||
"""Kill the waiting editor."""
|
"""Kill the waiting editor."""
|
||||||
pidfile = tmpdir / 'editor_pid'
|
pidfile = tmpdir / 'editor_pid'
|
||||||
pid = int(pidfile.read())
|
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)
|
os.kill(pid, signal.SIGUSR1)
|
||||||
|
Loading…
Reference in New Issue
Block a user