Skip to content

Commit 23b6b93

Browse files
committed
update tests
1 parent 755679c commit 23b6b93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/arrays/interval/test_interval.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def test_arrow_array_missing():
189189
import pyarrow as pa
190190
from pandas.core.arrays._arrow_utils import ArrowIntervalType
191191

192-
arr = IntervalArray.from_breaks([0, 1, 2, 3])
192+
arr = IntervalArray.from_breaks([0.0, 1.0, 2.0, 3.0])
193193
arr[1] = None
194194

195195
result = pa.array(arr)
@@ -216,8 +216,8 @@ def test_arrow_array_missing():
216216
@pyarrow_skip
217217
@pytest.mark.parametrize(
218218
"breaks",
219-
[[0, 1, 2, 3], pd.date_range("2017", periods=4, freq="D")],
220-
ids=["int", "datetime64[ns]"],
219+
[[0.0, 1.0, 2.0, 3.0], pd.date_range("2017", periods=4, freq="D")],
220+
ids=["float", "datetime64[ns]"],
221221
)
222222
def test_arrow_table_roundtrip(breaks):
223223
import pyarrow as pa

0 commit comments

Comments
 (0)