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

Function teardown

core/tests/python/tests/test_storage.py:21–27  ·  view source on GitHub ↗

Clean up test storage after each test.

()

Source from the content-addressed store, hash-verified

19
20
21async def teardown():
22 """
23 Clean up test storage after each test.
24 """
25 if test_store:
26 test_store.clear()
27 await test_store.sync()
28
29
30async def test_storage_as_dict():

Callers

nothing calls this directly

Calls 2

syncMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected