Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/catalog/integration_test_dynamodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def test_create_duplicate_namespace(test_catalog: Catalog, database_name: str) -
test_catalog.create_namespace(database_name)


def test_create_namepsace_if_not_exists(test_catalog: Catalog, database_name: str) -> None:
def test_create_namespace_if_not_exists(test_catalog: Catalog, database_name: str) -> None:
test_catalog.create_namespace(database_name)
test_catalog.create_namespace_if_not_exists(database_name)
assert (database_name,) in test_catalog.list_namespaces()
Expand Down
2 changes: 1 addition & 1 deletion tests/expressions/test_literals.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ def test_decimal_literal_increment() -> None:
assert dec.increment().value.as_tuple() == Decimal("10.124").as_tuple()


def test_decimal_literal_dencrement() -> None:
def test_decimal_literal_decrement() -> None:
dec = DecimalLiteral(Decimal("10.123"))
# Twice to check that we don't mutate the value
assert dec.decrement() == DecimalLiteral(Decimal("10.122"))
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def test_create_duplicate_namespace(test_catalog: Catalog, database_name: str) -

@pytest.mark.integration
@pytest.mark.parametrize("test_catalog", CATALOGS)
def test_create_namepsace_if_not_exists(test_catalog: Catalog, database_name: str) -> None:
def test_create_namespace_if_not_exists(test_catalog: Catalog, database_name: str) -> None:
test_catalog.create_namespace(database_name)
test_catalog.create_namespace_if_not_exists(database_name)
assert (database_name,) in test_catalog.list_namespaces()
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_partition_evolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def test_cannot_rename_and_delete(catalog: Catalog) -> None:

@pytest.mark.integration
@pytest.mark.parametrize("catalog", [lf("session_catalog_hive"), lf("session_catalog")])
def test_cannot_add_same_tranform_for_same_field(catalog: Catalog) -> None:
def test_cannot_add_same_transform_for_same_field(catalog: Catalog) -> None:
table = _table(catalog)
with pytest.raises(ValueError) as exc_info:
table.update_spec().add_field("str", TruncateTransform(4), "truncated_str").add_field(
Expand Down