parquet-python icon indicating copy to clipboard operation
parquet-python copied to clipboard

array.array.tostring is deprecated in Python 3 in favour of tobytes

Open tirkarthi opened this issue 5 years ago • 0 comments

Following instances should use tostring on Python 2 and tobytes on Python 3.

test/test_encoding.py
114:        encoded_bitstring = array.array('B', raw_data_in).tostring()
134:            'B', [0b00000101, 0b00111001, 0b01110111]).tostring()

tirkarthi avatar Apr 25 '20 05:04 tirkarthi