def test_proxy_repr(): @ring.dict({}) def f(): pass assert repr(ring.dict) assert repr(ring.dict({})) assert repr(f)
def test_proxy_cache(): dring = ring.dict({}) @dring def f1(): pass @dring def f2(): pass