Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ test_repr_array_empty
Function
test_repr_array_empty
tests/python/test_dataclass_repr.py:79–81 ·
view source on GitHub ↗
Test repr of empty Array.
()
Source
from the content-addressed store, hash-verified
77
78
79
def
test_repr_array_empty() -> None:
80
""
"Test repr of empty Array."
""
81
assert ReprPrint(tvm_ffi.Array([])) ==
"()"
82
83
84
def
test_repr_array_nested_strings() -> None:
Callers
nothing calls this directly
Calls
2
ReprPrint
Function · 0.90
Array
Method · 0.80
Tested by
no test coverage detected