MCPcopy Index your code
hub / github.com/pyscript/pyscript / teardown

Function teardown

core/tests/python/tests/test_display.py:41–49  ·  view source on GitHub ↗

Like setup.

()

Source from the content-addressed store, hash-verified

39
40
41async def teardown():
42 """
43 Like setup.
44 """
45 container = await get_display_container()
46 if container:
47 container.replaceChildren()
48 target_container = web.page.find("#test-element-container")[0]
49 target_container.innerHTML = ""
50
51
52async def test_simple_display():

Callers

nothing calls this directly

Calls 2

get_display_containerFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected