MCPcopy Create free account
hub / github.com/apache/tvm-ffi / test_py_class_basic

Method test_py_class_basic

tests/python/test_dataclass_common.py:540–546  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

538
539class TestMatchArgs:
540 def test_py_class_basic(self) -> None:
541 @py_class(_k("MAPy"))
542 class PC(Object):
543 x: int
544 y: str
545
546 assert _match_args(PC) == ("x", "y")
547
548 def test_py_class_init_false_excluded(self) -> None:
549 @py_class(_k("MAInitFalse"))

Callers

nothing calls this directly

Calls 1

_match_argsFunction · 0.85

Tested by

no test coverage detected