MCPcopy
hub / github.com/urllib3/urllib3 / make_a_readable_after_one_second

Function make_a_readable_after_one_second

test/test_wait.py:180–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 interrupt_count[0] += 1
179
180 def make_a_readable_after_one_second() -> None:
181 time.sleep(1)
182 b.send(b"x")
183
184 old_handler = signal.signal(signal.SIGALRM, handler)
185 try:

Callers

nothing calls this directly

Calls 2

sleepMethod · 0.80
sendMethod · 0.45

Tested by

no test coverage detected