Skip to content

Commit 56dc957

Browse files
committed
Dont mask error in send signal function
1 parent 42d3ab1 commit 56dc957

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/test_Consumer.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ def send_sigint_after_delay(delay_seconds):
2424
delay_seconds: Delay in seconds before sending SIGINT
2525
"""
2626
time.sleep(delay_seconds)
27-
try:
28-
os.kill(os.getpid(), signal.SIGINT)
29-
except Exception:
30-
pass
27+
os.kill(os.getpid(), signal.SIGINT)
3128

3229

3330
def test_basic_api():

0 commit comments

Comments
 (0)