8000 Fix agg overflow test · matplotlib/matplotlib@d93226e · GitHub
[go: up one dir, main page]

Skip to content

Commit d93226e

Browse files
committed
Fix agg overflow test
1 parent 4301543 commit d93226e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_simplification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def test_throw_rendering_complexity_exceeded():
168168
ax = fig.add_subplot(111)
169169
ax.plot(xx, yy)
170170
try:
171-
fig.savefig(io.StringIO())
171+
fig.savefig(io.BytesIO())
172172
finally:
173173
rcParams['path.simplify'] = True
174174

0 commit comments

Comments
 (0)
0