def testASCII85Encode(data, expected_value): """ [EXPLAIN THIS.] """ value = ASCII85Codec.encode(data) assert value == expected_value assert isinstance(value, BytesType)
def testASCII85Encode(data, expected_value): value = ASCII85Codec.encode(data) assert value == expected_value assert isinstance(value, bytes_type)