Skip to content

Commit

Permalink
Remove last line of snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jvasquezrojas committed Oct 23, 2024
1 parent 01950f3 commit 9a2d5ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
) EXTERNAL_VOLUME = 'exvol' CATALOG = 'SNOWFLAKE' BASE_LOCATION = 'my_iceberg_table'

]
(Background on this error at: https://sqlalche.me/e/20/f405)
'''
# ---
3 changes: 2 additions & 1 deletion tests/custom_tables/test_create_iceberg_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ def test_create_iceberg_table(engine_testaccount, snapshot):
with pytest.raises(ProgrammingError) as argument_error:
metadata.create_all(engine_testaccount)

assert str(argument_error.value) == snapshot
error_str = str(argument_error.value)
assert error_str[: error_str.rfind("\n")] == snapshot

0 comments on commit 9a2d5ae

Please sign in to comment.