1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

pytest/segfaults: drop a useless line

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: David Mulder <dmulder@suse.com>
This commit is contained in:
Douglas Bagnall
2021-02-11 17:35:32 +13:00
committed by David Mulder
parent 9e19b148f6
commit f154fe8d95

View File

@ -49,7 +49,6 @@ def segfault_detector(f):
os._exit(0)
pid2, status = os.waitpid(pid, 0)
signal = status & 255
if os.WIFSIGNALED(status):
signal = os.WTERMSIG(status)
raise AssertionError("Failed with signal %d" % signal)