Skip to content

Commit 159b270

Browse files
committed
TST: Simplify expected conversion to object
Closes pandas-dev#27955
1 parent bf32a80 commit 159b270

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/tests/io/test_parquet.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,7 @@ def test_categorical(self, pa):
471471
check_round_trip(df, pa)
472472
else:
473473
# de-serialized as object for pyarrow < 0.15
474-
expected = df.assign(
475-
a=df.a.astype(object), b=df.b.astype(object), c=df.c.astype(object)
476-
)
474+
expected = df.astype(object)
477475
check_round_trip(df, pa, expected=expected)
478476

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

0 commit comments

Comments
 (0)