Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ clear
Method
clear
Lib/test/test_functools.py:1935–1938 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1933
self.assertEqual(f(k, 0), orig(k, 0))
1934
1935
def
clear():
1936
start.wait(10)
1937
for
_ in range(2*m):
1938
f.cache_clear()
1939
1940
orig_si = sys.getswitchinterval()
1941
support.setswitchinterval(1e-6)
Callers
15
assertNoted
Method · 0.45
test_resurrection_only_happens_once_per_object
Method · 0.45
test_resurrection_does_not_block_cleanup_of_other_objects
Method · 0.45
setUp
Method · 0.45
tearDown
Method · 0.45
test_descriptor_not_double_executed_on_spec_fail
Method · 0.45
write
Method · 0.45
test_clear
Method · 0.45
clear
Method · 0.45
__eq__
Method · 0.45
__eq__
Method · 0.45
test_len
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected