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

Function test_implicit_conversion

tests/test_thread.py:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31@pytest.mark.skipif(sys.platform.startswith("emscripten"), reason="Requires threads")
32def test_implicit_conversion():
33 a = Thread(m.test)
34 b = Thread(m.test)
35 c = Thread(m.test)
36 for x in [a, b, c]:
37 x.start()
38 for x in [c, b, a]:
39 x.join()
40
41
42@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