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

Function test_repr_array_nested_strings

tests/python/test_dataclass_repr.py:84–86  ·  view source on GitHub ↗

Test repr of Array containing strings.

()

Source from the content-addressed store, hash-verified

82
83
84def test_repr_array_nested_strings() -> None:
85 """Test repr of Array containing strings."""
86 assert ReprPrint(tvm_ffi.Array(["a", "b"])) == '("a", "b")'
87
88
89def test_repr_array_python_repr() -> None:

Callers

nothing calls this directly

Calls 2

ReprPrintFunction · 0.90
ArrayMethod · 0.80

Tested by

no test coverage detected