Description
Python 3 requires an explicit encodinng to be specified when casting to bytes, in python 2 bytes is synonymous with string so this is a non-issue. This should be updated to use the compat module that has accounted for this difference with the frombytes method.
self = <kudu.tests.test_client.TestClient testMethod=test_table_column>
def test_table_column(self):
table = self.client.table(self.ex_table)
cols = [(table['key'], 'key', 'int32'),
(table[1], 'int_val', 'int32'),
(table[-1], 'unixtime_micros_val', 'unixtime_micros')]
for col, name, type in cols:
> assert col.name == bytes(name)
E TypeError: string argument without an encoding