Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
21
async
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
30
async
def
test_storage_as_dict():
Callers
nothing calls this directly
Calls
2
sync
Method · 0.80
clear
Method · 0.45
Tested by
no test coverage detected