Skip to content
Prev Previous commit
Next Next commit
fix typing
  • Loading branch information
kevinjqliu committed Dec 24, 2025
commit ba69fb2f7b187243b6503a916ffccaa196c54dd3
3 changes: 2 additions & 1 deletion tests/catalog/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# pylint:disable=redefined-outer-name


from collections.abc import Generator
from pathlib import PosixPath

import pyarrow as pa
Expand Down Expand Up @@ -51,7 +52,7 @@


@pytest.fixture
def catalog(tmp_path: PosixPath) -> Generator[InMemoryCatalog, None, None]:
def catalog(tmp_path: PosixPath) -> Generator[Catalog, None, None]:
catalog = InMemoryCatalog("test.in_memory.catalog", **{WAREHOUSE: tmp_path.absolute().as_posix(), "test.key": "test.value"})
yield catalog
catalog.close()
Expand Down
Loading