Beispiel #1
0
 def target():
     try:
         with wakeup_on_signal():
             pass
     except:
         failed.append(1)
Beispiel #2
0
 def target():
     try:
         with wakeup_on_signal():
             pass
     except:
         failed.append(1)
Beispiel #3
0
 def test_basic(self):
     self.assertEqual(signal.set_wakeup_fd(-1), -1)
     with wakeup_on_signal():
         pass
     self.assertEqual(signal.set_wakeup_fd(-1), -1)
Beispiel #4
0
 def test_basic(self):
     self.assertEqual(signal.set_wakeup_fd(-1), -1)
     with wakeup_on_signal():
         pass
     self.assertEqual(signal.set_wakeup_fd(-1), -1)