Skip to content

Commit 66b936f

Browse files
committed
NumPy compat
1 parent b0dbffd commit 66b936f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ def test_unique_datetime_index(arr, expected):
11961196

11971197
@pytest.mark.parametrize('arr, expected', [
11981198
(pd.Series(pd.DatetimeIndex(['2017', '2017'])),
1199-
np.array(['2017'], dtype='M8[ns]')),
1199+
np.array(['2017-01-01T00:00:00'], dtype='M8[ns]')),
12001200
(pd.Series(pd.DatetimeIndex(['2017', '2017'], tz='US/Eastern')),
12011201
np.array([pd.Timestamp('2017', tz="US/Eastern")], dtype=object)),
12021202
])

0 commit comments

Comments
 (0)