diff --git a/py/server/tests/test_parquet.py b/py/server/tests/test_parquet.py index 417b24353d0..89d13ad0582 100644 --- a/py/server/tests/test_parquet.py +++ b/py/server/tests/test_parquet.py @@ -286,7 +286,7 @@ def round_trip_with_compression(self, compression_codec_name, dh_table, vector_c # Write the pandas dataframe back to parquet (via pyarraow) and read it back using deephaven.parquet to compare dataframe.to_parquet('data_from_pandas.parquet', - compression=None if compression_codec_name is 'UNCOMPRESSED' else compression_codec_name) + compression=None if compression_codec_name == 'UNCOMPRESSED' else compression_codec_name) result_table = read('data_from_pandas.parquet') self.assert_table_equals(dh_table, result_table)