Skip to content

Commit c6cca21

Browse files
TST (string dtype): add explicit object vs str dtype to index fixture
1 parent 8d2ca0b commit c6cca21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,8 @@ def _create_mi_with_dt64tz_level():
667667

668668

669669
indices_dict = {
670-
"string": Index([f"pandas_{i}" for i in range(10)]),
670+
"object": Index([f"pandas_{i}" for i in range(10)], dtype=object),
671+
"string": Index([f"pandas_{i}" for i in range(10)], dtype="str"),
671672
"datetime": date_range("2020-01-01", periods=10),
672673
"datetime-tz": date_range("2020-01-01", periods=10, tz="US/Pacific"),
673674
"period": period_range("2020-01-01", periods=10, freq="D"),

0 commit comments

Comments
 (0)