Skip to content

Commit 0520560

Browse files
committed
test(datatype, varbyte): send receive varbyte
1 parent da845e6 commit 0520560

File tree

2 files changed

+47
-4
lines changed

2 files changed

+47
-4
lines changed

test/integration/datatype/_generate_test_datatype_tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def list(cls) -> typing.List["RedshiftDatatypes"]:
3232

3333

3434
redshift_test_data: typing.Dict[
35-
str, typing.Union[typing.Tuple[typing.Tuple[str, str], ...], typing.List[typing.Tuple[str, bytes]]]
35+
str, typing.Union[typing.Tuple[typing.Tuple[str, str], ...], typing.List[typing.Tuple[str, ...]]]
3636
] = {
3737
RedshiftDatatypes.geometry.name: (
3838
(
@@ -87,7 +87,7 @@ def list(cls) -> typing.List["RedshiftDatatypes"]:
8787
),
8888
),
8989
RedshiftDatatypes.varbyte.name: [
90-
("'{}'::varbyte".format(x), bytes(x, encoding="utf-8"))
90+
("'{}'::varbyte".format(x), x)
9191
for x in (
9292
"00",
9393
"1111",

0 commit comments

Comments
 (0)