Skip to content

Commit e73b82f

Browse files
committed
(chore): remove redundant test
1 parent 7538dbd commit e73b82f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

xarray/tests/test_dataarray.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7386,16 +7386,3 @@ def test_unstack_index_var() -> None:
73867386
name="x",
73877387
)
73887388
assert_identical(actual, expected)
7389-
7390-
7391-
def test_from_series_regression() -> None:
7392-
# all of these examples used to fail
7393-
# see GH:issue:10301
7394-
srs = pd.Series(index=[1, 2, 3], data=pd.array([1, 1, pd.NA]))
7395-
arr = srs.to_xarray()
7396-
7397-
# xarray ufunc
7398-
res = arr.fillna(0)
7399-
assert_array_equal(res, np.array([1, 1, 0]))
7400-
assert res.dtype == pd.Int64Dtype()
7401-
assert isinstance(res, xr.DataArray)

0 commit comments

Comments
 (0)