Lines Matching refs:hasattr
176 if hasattr(os, 'set_blocking'):
386 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'),
404 @unittest.skipUnless(hasattr(socket, 'socketpair'), 'need socket.socketpair')
788 @unittest.skipUnless(hasattr(signal, 'sigpending'),
793 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'),
795 @unittest.skipUnless(hasattr(signal, 'sigpending'),
824 @unittest.skipUnless(hasattr(signal, 'pthread_kill'),
849 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'),
895 @unittest.skipUnless(hasattr(signal, 'sigwait'),
907 @unittest.skipUnless(hasattr(signal, 'sigwaitinfo'),
918 @unittest.skipUnless(hasattr(signal, 'sigtimedwait'),
929 @unittest.skipUnless(hasattr(signal, 'sigtimedwait'),
942 @unittest.skipUnless(hasattr(signal, 'sigtimedwait'),
952 @unittest.skipUnless(hasattr(signal, 'sigtimedwait'),
958 @unittest.skipUnless(hasattr(signal, 'sigwait'),
960 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'),
992 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'),
1006 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'),
1015 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'),
1092 @unittest.skipUnless(hasattr(signal, 'pthread_kill'),
1167 @unittest.skipUnless(hasattr(signal, "setitimer"),
1213 @unittest.skipUnless(hasattr(signal, "setitimer"),
1279 hasattr(signal, "pidfd_send_signal"),