()
| 1153 | |
| 1154 | |
| 1155 | def test_cast_array_to_features_nested(): |
| 1156 | arr = pa.array([[{"foo": [0]}]]) |
| 1157 | assert cast_array_to_feature(arr, List({"foo": List(Value("string"))})).type == pa.list_( |
| 1158 | pa.struct({"foo": pa.list_(pa.string())}) |
| 1159 | ) |
| 1160 | |
| 1161 | |
| 1162 | def test_cast_array_to_features_to_nested_with_no_fields(): |
nothing calls this directly
no test coverage detected