def signal_alarm(n):
    if hasattr(signal, 'alarm'):
        signal.alarm(n)

# Remember real select() to avoid interferences with mocking
Call signal.alarm when it exists (i.e. not on Windows).
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_socketserver.py/signal_alarm