Skip to content

Commit 6f4b085

Browse files
committed
fix: imports due to Trino update (0.327.0 -> 0.330.0)
1 parent d011e7b commit 6f4b085

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_ocelots_pandas_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ def __repr__(self):
6767
# Tests for Trino-specific types
6868
def test_safe_convert_to_string_trino_namedrowtuple():
6969
"""Test that Trino's NamedRowTuple is converted to valid JSON strings."""
70-
pytest.importorskip("trino")
71-
from trino.client import NamedRowTuple
70+
pytest.importorskip("trino.types")
71+
from trino.types import NamedRowTuple
7272

7373
# Create a NamedRowTuple with field names and values (as returned by Trino)
7474
row = NamedRowTuple(

0 commit comments

Comments
 (0)