Skip to content

Commit e725882

Browse files
committed
TST: remove using .to_datetime w/Timestamp as deprecated
1 parent d984cfc commit e725882

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/indexes/datetimes/test_tools.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,8 @@ def units_from_epochs():
15331533
return list(range(5))
15341534

15351535

1536-
@pytest.fixture(params=[epoch_1960(), epoch_1960().to_datetime(),
1536+
@pytest.fixture(params=[epoch_1960(),
1537+
epoch_1960().to_pydatetime(),
15371538
epoch_1960().to_datetime64(),
15381539
str(epoch_1960())])
15391540
def epochs(request):

0 commit comments

Comments
 (0)