MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / _run_test

Function _run_test

tests/integration/test_loader_semaphore.py:30–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def _run_test():
31 try:
32 tmp = mp.get_context("spawn")
33 except RuntimeError:
34 tmp = mp
35 p = tmp.Process(target=_main)
36 p.start()
37 p.join()
38
39
40class TestImportLock(unittest.TestCase):

Callers 1

test_startMethod · 0.85

Calls 1

startMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…