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

Function test_repr_array

tests/python/test_dataclass_repr.py:69–71  ·  view source on GitHub ↗

Test repr of FFI Array uses tuple format.

()

Source from the content-addressed store, hash-verified

67
68
69def test_repr_array() -> None:
70 """Test repr of FFI Array uses tuple format."""
71 assert ReprPrint(tvm_ffi.Array([1, 2, 3])) == "(1, 2, 3)"
72
73
74def test_repr_array_single() -> None:

Callers

nothing calls this directly

Calls 2

ReprPrintFunction · 0.90
ArrayMethod · 0.80

Tested by

no test coverage detected