Return scalar when accessing zero dimensional array #2718
44.44% of diff hit (target 93.07%)
View this Pull Request on Codecov
44.44% of diff hit (target 93.07%)
Annotations
Check warning on line 1303 in src/zarr/core/array.py
codecov / codecov/patch
src/zarr/core/array.py#L1303
Added line #L1303 was not covered by tests
Check warning on line 2277 in src/zarr/core/array.py
codecov / codecov/patch
src/zarr/core/array.py#L2277
Added line #L2277 was not covered by tests
Check warning on line 430 in src/zarr/core/buffer/core.py
codecov / codecov/patch
src/zarr/core/buffer/core.py#L428-L430
Added lines #L428 - L430 were not covered by tests
Check warning on line 435 in src/zarr/core/buffer/core.py
codecov / codecov/patch
src/zarr/core/buffer/core.py#L433-L435
Added lines #L433 - L435 were not covered by tests
Check warning on line 437 in src/zarr/core/buffer/core.py
codecov / codecov/patch
src/zarr/core/buffer/core.py#L437
Added line #L437 was not covered by tests
Check warning on line 439 in src/zarr/core/buffer/core.py
codecov / codecov/patch
src/zarr/core/buffer/core.py#L439
Added line #L439 was not covered by tests