(self, load_async)
| 2981 | @pytest.mark.asyncio |
| 2982 | @pytest.mark.parametrize("load_async", [True, False]) |
| 2983 | async def test_NumpyIndexingAdapter(self, load_async): |
| 2984 | v = Variable(dims=("x", "y"), data=NumpyIndexingAdapter(self.d)) |
| 2985 | await self.check_orthogonal_indexing(v, load_async) |
| 2986 | await self.check_vectorized_indexing(v, load_async) |
| 2987 | # could not doubly wrapping |
| 2988 | with pytest.raises(TypeError, match=r"NumpyIndexingAdapter only wraps "): |
| 2989 | v = Variable( |
| 2990 | dims=("x", "y"), data=NumpyIndexingAdapter(NumpyIndexingAdapter(self.d)) |
| 2991 | ) |
| 2992 | |
| 2993 | def test_extension_array_duck_array(self): |
| 2994 | lazy = LazilyIndexedArray(self.cat) |
nothing calls this directly
no test coverage detected