()
| 73 | def decorator(func): |
| 74 | @wraps(func) |
| 75 | def wrapper(): |
| 76 | check = func() |
| 77 | assert callable( |
| 78 | check |
| 79 | ), f"Expected test function to return a callable, got {type(check)}" |
| 80 | |
| 81 | if "graph" in variants: |
| 82 | g = init_fn(Graph()) |
| 83 | check(g) |
| 84 | |
| 85 | if "persistent_graph" in variants: |
| 86 | pg = init_fn(PersistentGraph()) |
| 87 | check(pg) |
| 88 | |
| 89 | return wrapper |
| 90 |
nothing calls this directly
no test coverage detected