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

Method test_single_thread

Lib/test/_test_multiprocessing.py:2478–2481  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2476 self.assertEqual(len(results), barrier.parties)
2477
2478 def test_single_thread(self):
2479 b = self.Barrier(1)
2480 b.wait()
2481 b.wait()
2482
2483 @classmethod
2484 def _test_thousand_f(cls, barrier, passes, conn, lock):

Callers

nothing calls this directly

Calls 2

waitMethod · 0.95
BarrierMethod · 0.80

Tested by

no test coverage detected