Skip to content

Commit cf5a1f3

Browse files
Fokkokevinjqliu
andauthored
Simplify
Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>
1 parent 4a62692 commit cf5a1f3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/table/test_init.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,10 +1039,8 @@ def test_assert_ref_snapshot_id(table_v2: Table) -> None:
10391039
):
10401040
AssertRefSnapshotId(ref="test", snapshot_id=3055729675574597004).validate(base_metadata)
10411041

1042-
expected_json = """{"type":"assert-ref-snapshot-id","ref":"main","snapshot-id":null}"""
1043-
assert_json = AssertRefSnapshotId(ref="main").model_dump_json()
1044-
print(assert_json)
1045-
assert assert_json == expected_json
1042+
expected_json = '{"type":"assert-ref-snapshot-id","ref":"main","snapshot-id":null}'
1043+
assert AssertRefSnapshotId(ref="main").model_dump_json() == expected_json
10461044

10471045

10481046
def test_assert_last_assigned_field_id(table_v2: Table) -> None:

0 commit comments

Comments
 (0)