Skip to content

Commit 4c3aae5

Browse files
committed
Fix image test case
1 parent dc16da6 commit 4c3aae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/tests/test_orca/test_to_image.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def test_invalid_figure_json():
321321
with pytest.raises(ValueError) as err:
322322
pio.to_image(bad_fig, format='png')
323323

324-
assert "Invalid value of type" in str(err.value)
324+
assert "Invalid" in str(err.value)
325325

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

0 commit comments

Comments
 (0)