Skip to content

Commit

Permalink
test(generic): give try_cast test reasonable test ids
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jan 15, 2024
1 parent 141ad0a commit d388fe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ibis/backends/tests/test_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,7 @@ def test_hash_consistent(backend, alltypes):
],
),
],
ids=str,
)
def test_try_cast_expected(con, from_val, to_type, expected):
assert con.execute(ibis.literal(from_val).try_cast(to_type)) == expected
Expand Down

0 comments on commit d388fe4

Please sign in to comment.