Skip to content

Commit 70ae0a9

Browse files
committed
add msg check for test_fill_null + remove unused import
1 parent 8f28160 commit 70ae0a9

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

python/pyarrow/tests/test_compute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ def test_is_null():
736736
def test_fill_null():
737737
arr = pa.array([1, 2, None, 4], type=pa.int8())
738738
fill_value = pa.array([5], type=pa.int8())
739-
with pytest.raises(pa.ArrowInvalid):
739+
with pytest.raises(pa.ArrowInvalid, match="tried to convert to int"):
740740
arr.fill_null(fill_value)
741741

742742
arr = pa.array([None, None, None, None], type=pa.null())

python/pyarrow/tests/test_pandas.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import decimal
2020
import json
2121
import multiprocessing as mp
22-
import re
2322
import sys
2423

2524
from collections import OrderedDict

0 commit comments

Comments
 (0)