diff --git a/pandas/tests/arrays/sparse/test_accessor.py b/pandas/tests/arrays/sparse/test_accessor.py index af53f74dea962..2a5cb0116a6fd 100644 --- a/pandas/tests/arrays/sparse/test_accessor.py +++ b/pandas/tests/arrays/sparse/test_accessor.py @@ -10,7 +10,7 @@ class TestSeriesAccessor(object): # TODO: collect other accessor tests def test_to_dense(self): - s = pd.Series([0, 1, 0, 10], dtype='Sparse[int]') + s = pd.Series([0, 1, 0, 10], dtype='Sparse[int64]') result = s.sparse.to_dense() expected = pd.Series([0, 1, 0, 10]) tm.assert_series_equal(result, expected)