MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_implicit_conversion_no_gil

Function test_implicit_conversion_no_gil

tests/test_thread.py:43–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42@pytest.mark.skipif(sys.platform.startswith("emscripten"), reason="Requires threads")
43def test_implicit_conversion_no_gil():
44 a = Thread(m.test_no_gil)
45 b = Thread(m.test_no_gil)
46 c = Thread(m.test_no_gil)
47 for x in [a, b, c]:
48 x.start()
49 for x in [c, b, a]:
50 x.join()
51
52
53@pytest.mark.skipif(sys.platform.startswith("emscripten"), reason="Requires threads")

Callers

nothing calls this directly

Calls 2

ThreadClass · 0.85
joinMethod · 0.45

Tested by

no test coverage detected