Skip to content

Commit 6e55ce2

Browse files
committed
Fix remaining tests
1 parent ccabdb3 commit 6e55ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/test_unary.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_neg_raises(self, df, using_infer_string):
5353
"bad operand type for unary -: 'str'|"
5454
r"bad operand type for unary -: 'DatetimeArray'"
5555
)
56-
if using_infer_string:
56+
if using_infer_string and df.dtypes.iloc[0] == "string":
5757
import pyarrow as pa
5858

5959
msg = "has no kernel"

0 commit comments

Comments
 (0)