Skip to content

Commit 135d52a

Browse files
authored
Update test_array.py
1 parent ac2d379 commit 135d52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyarrow/tests/test_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2489,7 +2489,7 @@ def test_array_from_different_numpy_datetime_units_raises():
24892489
ms = np.array(data, dtype='datetime64[ms]')
24902490
data = list(s[:2]) + list(ms[2:])
24912491

2492-
with pytest.raises(pa.ArrowInvalid, match="Cannot mix NumPy datetime64 units s and ms"):
2492+
with pytest.raises(pa.ArrowInvalid, match="datetime64 units s and ms"):
24932493
pa.array(data)
24942494

24952495

0 commit comments

Comments
 (0)