Skip to content

Commit

Permalink
Fix image test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Jun 14, 2019
1 parent dc16da6 commit 4c3aae5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def test_invalid_figure_json():
with pytest.raises(ValueError) as err:
pio.to_image(bad_fig, format='png')

assert "Invalid value of type" in str(err.value)
assert "Invalid" in str(err.value)

with pytest.raises(ValueError) as err:
pio.to_image(bad_fig, format='png', validate=False)
Expand Down

0 comments on commit 4c3aae5

Please sign in to comment.