Skip to content

Commit

Permalink
TST: Convert column b in expected to object for pyarrow < 0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
galuhsahid committed Aug 20, 2019
1 parent cfc53ae commit aebfae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/io/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def test_categorical(self, pa):
check_round_trip(df, pa)
else:
# de-serialized as object for pyarrow < 0.15
expected = df.assign(a=df.a.astype(object))
expected = df.assign(a=df.a.astype(object), b=df.b.astype(object))
check_round_trip(df, pa, expected=expected)

def test_s3_roundtrip(self, df_compat, s3_resource, pa):
Expand Down

0 comments on commit aebfae7

Please sign in to comment.