Skip to content

Commit e4488b3

Browse files
author
Neal Muppidi
committed
remove usage of to_datetime()
1 parent 9853f0e commit e4488b3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pandas/tests/indexing/test_at.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
MultiIndex,
1515
Series,
1616
Timestamp,
17-
to_datetime,
1817
)
1918
import pandas._testing as tm
2019

@@ -99,11 +98,7 @@ def test_at_setitem_categorical_missing(self):
9998

10099
tm.assert_frame_equal(df, expected)
101100

102-
@pytest.mark.parametrize("row",
103-
(Timestamp("2019-01-01"),
104-
to_datetime("2019-01-01"),
105-
"2019-01-01")
106-
)
101+
@pytest.mark.parametrize("row", (Timestamp("2019-01-01"), "2019-01-01"))
107102
def test_at_datetime_index(self, row):
108103
df = DataFrame(
109104
data=[[1] * 2],

0 commit comments

Comments
 (0)