Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mikhail Astafev <astafan8@gmail.com>
  • Loading branch information
jenshnielsen and astafan8 authored Sep 25, 2023
1 parent 2b57f76 commit 036016d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qcodes/tests/dataset/test_dataset_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,6 @@ def test_export_2d_dataset(
pdf = mock_dataset_grid.to_pandas_dataframe()
dims = _calculate_index_shape(pdf.index)
assert dims == {"x": 10, "y": 5}
pdf.to_xarray()

xr_ds = mock_dataset_grid.to_xarray_dataset()
assert xr_ds["z"].dims == ("x", "y")
Expand Down Expand Up @@ -699,7 +698,7 @@ def test_export_non_grid_in_grid_dataset_xarray(
assert xr_ds.dims == {"multi_index": 450}
# ideally we would probably expect this to be {x: 9, multi_index: 50}
# however at the moment we do not store the "multiindexed" parameters
# severalty from the "regular" index parameters when there is a multiindex
# seperately from the "regular" index parameters when there is a multiindex
# parameter

assert "x" in xr_ds.coords
Expand Down

0 comments on commit 036016d

Please sign in to comment.