()
| 157 | |
| 158 | |
| 159 | def test_object_with_getitem(): |
| 160 | # https://github.com/apache/arrow/issues/34944 |
| 161 | # considered as sequence because of __getitem__, but has no length |
| 162 | with pytest.raises(TypeError, match="has no len()"): |
| 163 | pa.array(ObjectWithOnlyGetitem()) |
| 164 | |
| 165 | |
| 166 | def _as_list(xs): |
nothing calls this directly
no test coverage detected