Skip to content

Commit e6df20d

Browse files
committed
fix redef
1 parent 40815c0 commit e6df20d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/catalog/test_hive.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -997,16 +997,6 @@ def test_rename_table_to_namespace_does_not_exists() -> None:
997997
assert "Database does not exists: default_does_not_exists" in str(exc_info.value)
998998

999999

1000-
def test_rename_table_to_table_already_exists(hive_table: HiveTable) -> None:
1001-
catalog = HiveCatalog(HIVE_CATALOG_NAME, uri=HIVE_METASTORE_FAKE_URL)
1002-
catalog.load_table = MagicMock(return_value=hive_table) # type: ignore[method-assign]
1003-
1004-
with pytest.raises(TableAlreadyExistsError) as exc_info:
1005-
catalog.rename_table(("default", "some_table"), ("default", "new_tabl2e"))
1006-
1007-
assert "Table already exists: new_tabl2e" in str(exc_info.value)
1008-
1009-
10101000
def test_drop_database_does_not_empty() -> None:
10111001
catalog = HiveCatalog(HIVE_CATALOG_NAME, uri=HIVE_METASTORE_FAKE_URL)
10121002

0 commit comments

Comments
 (0)