Skip to content

Commit 9148698

Browse files
TST (string dtype): avoid hardcoded object dtype for columns in datetime_frame fixture
1 parent eacf032 commit 9148698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def datetime_frame() -> DataFrame:
1818
"""
1919
return DataFrame(
2020
np.random.default_rng(2).standard_normal((10, 4)),
21-
columns=Index(list("ABCD"), dtype=object),
21+
columns=Index(list("ABCD")),
2222
index=date_range("2000-01-01", periods=10, freq="B"),
2323
)
2424

0 commit comments

Comments
 (0)