MCPcopy
hub / github.com/python/mypy / test_connect_alot

Method test_connect_alot

mypy/test/testipc.py:105–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 # needed to debug IPC issues.
104 @pytest.mark.skip
105 def test_connect_alot(self) -> None:
106 t0 = time.time()
107 for i in range(1000):
108 try:
109 print(i, "start")
110 self.test_connect_twice()
111 finally:
112 t1 = time.time()
113 print(i, t1 - t0)
114 sys.stdout.flush()
115 t0 = t1
116
117
118if __name__ == "__main__":

Callers

nothing calls this directly

Calls 4

test_connect_twiceMethod · 0.95
rangeClass · 0.85
printFunction · 0.85
flushMethod · 0.45

Tested by

no test coverage detected