Skip to content

Commit 83102b0

Browse files
committed
Unrelated test fix
1 parent f4c6a98 commit 83102b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/generic/test_to_xarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_to_xarray_index_types(self, index_flat, df, using_infer_string):
4141
df.index.name = "foo"
4242
df.columns.name = "bar"
4343
result = df.to_xarray()
44-
assert result.dims["foo"] == 4
44+
assert result.sizes["foo"] == 4
4545
assert len(result.coords) == 1
4646
assert len(result.data_vars) == 8
4747
tm.assert_almost_equal(list(result.coords.keys()), ["foo"])

0 commit comments

Comments
 (0)