We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad4a5b commit ba69fb2Copy full SHA for ba69fb2
tests/catalog/test_base.py
@@ -17,6 +17,7 @@
17
# pylint:disable=redefined-outer-name
18
19
20
+from collections.abc import Generator
21
from pathlib import PosixPath
22
23
import pyarrow as pa
@@ -51,7 +52,7 @@
51
52
53
54
@pytest.fixture
-def catalog(tmp_path: PosixPath) -> Generator[InMemoryCatalog, None, None]:
55
+def catalog(tmp_path: PosixPath) -> Generator[Catalog, None, None]:
56
catalog = InMemoryCatalog("test.in_memory.catalog", **{WAREHOUSE: tmp_path.absolute().as_posix(), "test.key": "test.value"})
57
yield catalog
58
catalog.close()
0 commit comments