Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8111678

Browse files
committedDec 19, 2024·
Partially revert "TST: Fix minor issues in interactive backend test (matplotlib#28838)"
This reverts commit 7c7f94c.
1 parent ae023d1 commit 8111678

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎lib/matplotlib/tests/test_backends_interactive.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,10 @@ def check_alt_backend(alt_backend):
232232
result_after = io.BytesIO()
233233
fig.savefig(result_after, format='png')
234234

235-
assert result.getvalue() == result_after.getvalue()
235+
if 'qt' not in backend and 'wx' not in backend:
236+
# FIXME: This should be enabled everywhere once Qt5 is fixed on macOS
237+
# to not resize incorrectly.
238+
assert result.getvalue() == result_after.getvalue()
236239

237240

238241
@pytest.mark.parametrize("env", _get_testable_interactive_backends())

0 commit comments

Comments
 (0)
Please sign in to comment.