We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 463a4db commit 6df3068Copy full SHA for 6df3068
pandas/tests/series/test_constructors.py
@@ -1623,8 +1623,7 @@ def test_constructor_infer_index_tz(self):
1623
class TestSeriesConstructorIndexCoercion:
1624
def test_series_constructor_datetimelike_index_coercion(self):
1625
idx = tm.makeDateIndex(10000)
1626
- with tm.assert_produces_warning(FutureWarning):
1627
- ser = Series(np.random.randn(len(idx)), idx.astype(object))
+ ser = Series(np.random.randn(len(idx)), idx.astype(object))
1628
with tm.assert_produces_warning(FutureWarning):
1629
assert ser.index.is_all_dates
1630
assert isinstance(ser.index, DatetimeIndex)
0 commit comments