Skip to content

Commit

Permalink
wee
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm0000 committed Sep 6, 2024
1 parent 4f7904b commit ed79a06
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions py-polars/tests/unit/io/test_delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,13 +474,11 @@ def test_write_delta_with_merge(tmp_path: Path) -> None:
assert merger.predicate == "s.a = t.a"
assert merger.source_alias == "s"
assert merger.target_alias == "t"
except AttributeError:
except AttributeError as err:
import deltalake

msg = (
f"dl ver {deltalake.__version__}, {TableMerger.__init__.__code__.co_names}"
)
raise ValueError(msg) from None
msg = f"dl ver {deltalake.__version__}, {dir(merger)}"
raise ValueError(msg) from err

merger.when_matched_delete(predicate="t.a > 2").execute()

Expand Down

0 comments on commit ed79a06

Please sign in to comment.