MCPcopy Index your code
hub / github.com/python/cpython / test_itimer_real

Method test_itimer_real

Lib/test/test_signal.py:827–831  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

825 signal.setitimer, signal.ITIMER_REAL, -1)
826
827 def test_itimer_real(self):
828 self.itimer = signal.ITIMER_REAL
829 signal.setitimer(self.itimer, 1.0)
830 signal.pause()
831 self.assertEqual(self.hndl_called, True)
832
833 # Issue 3864, unknown if this affects earlier versions of freebsd also
834 @unittest.skipIf(sys.platform in ('netbsd5',) or is_apple_mobile,

Callers

nothing calls this directly

Calls 2

pauseMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected