Skip to content

Commit ba69fb2

Browse files
committed
fix typing
1 parent 2ad4a5b commit ba69fb2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/catalog/test_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# pylint:disable=redefined-outer-name
1818

1919

20+
from collections.abc import Generator
2021
from pathlib import PosixPath
2122

2223
import pyarrow as pa
@@ -51,7 +52,7 @@
5152

5253

5354
@pytest.fixture
54-
def catalog(tmp_path: PosixPath) -> Generator[InMemoryCatalog, None, None]:
55+
def catalog(tmp_path: PosixPath) -> Generator[Catalog, None, None]:
5556
catalog = InMemoryCatalog("test.in_memory.catalog", **{WAREHOUSE: tmp_path.absolute().as_posix(), "test.key": "test.value"})
5657
yield catalog
5758
catalog.close()

0 commit comments

Comments
 (0)