Skip to content

Commit

Permalink
Fix length of decoded SVG (depends on content)
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Nov 29, 2024
1 parent d373b6f commit ca27fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/matplotlib/test_matplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_svg(selenium):
plt.savefig(fd, format="svg")

content = fd.getvalue().decode("utf8")
assert len(content) == 14998
assert len(content) == 15016
assert content.startswith("<?xml")


Expand Down

0 comments on commit ca27fa8

Please sign in to comment.