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

Function test_append_false

core/tests/python/tests/test_display.py:159–166  ·  view source on GitHub ↗

Explicit append flag as false should replace the expected container element.

()

Source from the content-addressed store, hash-verified

157
158
159async def test_append_false():
160 """
161 Explicit append flag as false should replace the expected container element.
162 """
163 display("item 1", append=False)
164 display("item 2", append=False)
165 container = await get_display_container()
166 assert container.innerText == "item 2"
167
168
169async def test_display_multiple_values():

Callers

nothing calls this directly

Calls 2

displayFunction · 0.90
get_display_containerFunction · 0.85

Tested by

no test coverage detected