Skip to content

Commit b9f24be

Browse files
committed
fix: ci tests
1 parent ad8bf0f commit b9f24be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/generate-types-tests.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# from a list of basic types.
33

44
import math
5+
from typing import Any, Sequence
56

67

78
def unescape_value(value: str) -> str:
@@ -33,7 +34,7 @@ def sort_key(val: str) -> tuple[int] | tuple[int, float]:
3334
return (1, x)
3435

3536

36-
def custom_sorted(values: list[Any]) -> list[Any]:
37+
def custom_sorted(values: Sequence[Any]) -> list[Any]:
3738
if "'inf'" in values or "'-inf'" in values or "'nan'" in values:
3839
# Sort using the custom key
3940
return sorted(values, key=sort_key)
@@ -162,6 +163,8 @@ def custom_sorted(values: list[Any]) -> list[Any]:
162163
]
163164

164165

166+
test_server_location = "grpc://"
167+
165168
for record in data:
166169
with open(
167170
f"/Users/rusty/Development/duckdb-arrow-flight-extension/test/sql/airport-test-types-{record['field_name']}.test",

0 commit comments

Comments
 (0)