SIGN IN SIGN UP

gh-149879: Fix test_signal on Cygwin (#149896)

* Check for SIG_BLOCK instead of pthread_sigmask() to decide if
  SIG_BLOCK, SIG_UNBLOCK and SIG_SETMASK constants should be
  converted to enums.
* Skip ITIMER_VIRTUAL and ITIMER_PROF tests on Cygwin: setitimer()
  fails with ItimerError(EINVAL).
V
Victor Stinner committed
d9ad171ced9b4814e22fe0b078d197de86c1393d
Parent: 9ee9f58
Committed by GitHub <noreply@github.com> on 5/15/2026, 7:32:10 PM