From f154fe8d95451e77da56d86c4b5895f2f942b936 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 11 Feb 2021 17:35:32 +1300 Subject: [PATCH] pytest/segfaults: drop a useless line Signed-off-by: Douglas Bagnall Reviewed-by: David Mulder --- python/samba/tests/segfault.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/samba/tests/segfault.py b/python/samba/tests/segfault.py index 40ba4aa148a..f14ce4f22a2 100644 --- a/python/samba/tests/segfault.py +++ b/python/samba/tests/segfault.py @@ -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)