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

Method check_elapsed_time

Lib/test/_test_eintr.py:85–86  ·  view source on GitHub ↗
(self, elapsed)

Source from the content-addressed store, hash-verified

83 return subprocess.Popen(cmd_args, **kw)
84
85 def check_elapsed_time(self, elapsed):
86 self.assertGreaterEqual(elapsed, self.sleep_time - CLOCK_RES)
87
88
89@unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()")

Callers 7

test_sleepMethod · 0.80
test_selectMethod · 0.80
test_pollMethod · 0.80
test_epollMethod · 0.80
test_kqueueMethod · 0.80
test_devpollMethod · 0.80
_lockMethod · 0.80

Calls 1

assertGreaterEqualMethod · 0.80

Tested by

no test coverage detected