Skip to content

Commit d7e89db

Browse files
committed
fix: lint error
1 parent c3570d8 commit d7e89db

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/table/test_replace.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,8 @@ def test_replace_on_custom_branch(catalog: Catalog) -> None:
696696
# Assert that the "test-branch" reference now points to a REPLACE snapshot
697697
new_snapshot = table.snapshot_by_id(test_branch_ref.snapshot_id)
698698
assert new_snapshot is not None
699-
assert new_snapshot.summary["operation"] == Operation.REPLACE
699+
summary = cast(Summary, new_snapshot.summary)
700+
assert summary["operation"] == Operation.REPLACE
700701

701702
# Assert that the "main" branch reference was completely untouched
702703
assert main_branch_ref.snapshot_id == initial_main_snapshot_id

0 commit comments

Comments
 (0)