Skip to content

Commit aebfae7

Browse files
committed
TST: Convert column b in expected to object for pyarrow < 0.15
Closes #27955
1 parent cfc53ae commit aebfae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/test_parquet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def test_categorical(self, pa):
464464
check_round_trip(df, pa)
465465
else:
466466
# de-serialized as object for pyarrow < 0.15
467-
expected = df.assign(a=df.a.astype(object))
467+
expected = df.assign(a=df.a.astype(object), b=df.b.astype(object))
468468
check_round_trip(df, pa, expected=expected)
469469

470470
def test_s3_roundtrip(self, df_compat, s3_resource, pa):

0 commit comments

Comments
 (0)