MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_barrier_10

Method test_barrier_10

Lib/test/_test_multiprocessing.py:2097–2101  ·  view source on GitHub ↗

Test that a barrier works for 10 consecutive runs

(self)

Source from the content-addressed store, hash-verified

2095 self.run_threads(self.multipass, (self.barrier, results, passes))
2096
2097 def test_barrier_10(self):
2098 """
2099 Test that a barrier works for 10 consecutive runs
2100 """
2101 return self.test_barrier(10)
2102
2103 @classmethod
2104 def _test_wait_return_f(cls, barrier, queue):

Callers

nothing calls this directly

Calls 1

test_barrierMethod · 0.95

Tested by

no test coverage detected