Skip to content

Commit 1d25b87

Browse files
committed
fix: use InMemoryCatalog to avoid config collision in tests
1 parent 7e66ccb commit 1d25b87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/test_writes/test_writes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242

4343
from pyiceberg.catalog import Catalog, load_catalog
4444
from pyiceberg.catalog.hive import HiveCatalog
45+
from pyiceberg.catalog.memory import InMemoryCatalog
4546
from pyiceberg.catalog.sql import SqlCatalog
4647
from pyiceberg.exceptions import CommitFailedException, NoSuchTableError
4748
from pyiceberg.expressions import And, EqualTo, GreaterThanOrEqual, In, LessThan, Not
@@ -2330,7 +2331,7 @@ def test_nanosecond_support_on_catalog(
23302331
) -> None:
23312332
identifier = "default.test_nanosecond_support_on_catalog"
23322333

2333-
catalog = load_catalog("default", type="in-memory")
2334+
catalog = InMemoryCatalog("test-catalog")
23342335
catalog.create_namespace("ns")
23352336

23362337
_create_table(session_catalog, identifier, {"format-version": "3"}, schema=arrow_table_schema_with_all_timestamp_precisions)

0 commit comments

Comments
 (0)