(self, load_async)
| 3001 | @pytest.mark.asyncio |
| 3002 | @pytest.mark.parametrize("load_async", [True, False]) |
| 3003 | async def test_LazilyIndexedArray(self, load_async): |
| 3004 | v = Variable(dims=("x", "y"), data=LazilyIndexedArray(self.d)) |
| 3005 | await self.check_orthogonal_indexing(v, load_async) |
| 3006 | await self.check_vectorized_indexing(v, load_async) |
| 3007 | # doubly wrapping |
| 3008 | v = Variable( |
| 3009 | dims=("x", "y"), |
| 3010 | data=LazilyIndexedArray(LazilyIndexedArray(self.d)), |
| 3011 | ) |
| 3012 | await self.check_orthogonal_indexing(v, load_async) |
| 3013 | # hierarchical wrapping |
| 3014 | v = Variable( |
| 3015 | dims=("x", "y"), data=LazilyIndexedArray(NumpyIndexingAdapter(self.d)) |
| 3016 | ) |
| 3017 | await self.check_orthogonal_indexing(v, load_async) |
| 3018 | |
| 3019 | @pytest.mark.asyncio |
| 3020 | @pytest.mark.parametrize("load_async", [True, False]) |
nothing calls this directly
no test coverage detected