MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / _

Function _

tests/test_decay.py:8–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7@test("decay")
8def _():
9 @decay
10 def func(a: str, b: int, c: Pointer):
11 assert type(a) is str
12 assert type(b) is int
13 assert type(c) is Pointer
14
15 func("a", 1, "c")
16
17 @decay
18 def func2(a: str, b: int, c: Pointer[str]):
19 assert type(a) is str
20 assert type(b) is int
21 assert type(c) is Pointer
22
23 func2("a", 1, "c")
24
25
26@test("decay with annotated")

Callers

nothing calls this directly

Calls 2

funcFunction · 0.85
func2Function · 0.85

Tested by

no test coverage detected