Skip to content

Commit

Permalink
Fix coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Apr 27, 2024
1 parent 4a2287c commit c595e73
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ def test_avro_serialize_and_parse_no_schema(
serialized_df = combined_df.select(avro.serialize_column(column_type("combined")))
assert isinstance(serialized_df.schema["combined"].dataType, BinaryType)

with pytest.raises(
ValueError,
match="Avro.parse_column can be used only with defined `schema_dict` or `schema_url`",
):
serialized_df.select(avro.parse_column(column_type("combined")))
with pytest.raises(
ValueError,
match="Avro.parse_column can be used only with defined `schema_dict` or `schema_url`",
):
serialized_df.select(avro.parse_column(column_type("combined")))


@pytest.mark.parametrize("column_type", [str, col])
Expand Down

0 comments on commit c595e73

Please sign in to comment.