Skip to content

Commit

Permalink
Update virtualizarr/tests/test_writers/test_icechunk.py
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Nicholas <[email protected]>
  • Loading branch information
mpiannucci and TomNicholas authored Oct 22, 2024
1 parent b072535 commit 45ae850
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion virtualizarr/tests/test_writers/test_icechunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ def test_set_single_virtual_ref_without_encoding(
npt.assert_equal(array, expected_array)

ds = open_zarr(store=icechunk_filestore, zarr_format=3, consolidated=False)
assert np.allclose(ds.foo.to_numpy(), expected_ds.foo.to_numpy())
import xarray.testing as xrt

assert xrt.assert_identical(ds, expected_ds)

# note: we don't need to test that committing works, because now we have confirmed
# the refs are in the store (even uncommitted) it's icechunk's problem to manage them now.
Expand Down

0 comments on commit 45ae850

Please sign in to comment.