8000 Revert tightening of thread safety test · matplotlib/matplotlib@09d420c · GitHub
[go: up one dir, main page]

Skip to content

Commit 09d420c

Browse files
Revert tightening of thread safety test
Based on suggestion from code review
1 parent 1fd95d3 commit 09d420c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ def _test_thread_impl():
196196
plt.pause(0.5) # flush_events fails here on at least Tkagg (bpo-41176)
197197
future.result() # Joins the thread; rethrows any exception.
198198
plt.close() # backend is responsible for flushing any events here
199+
fig.canvas.flush_events() # TODO: debug why WX needs this only on py3.8
199200

200201

201202
_thread_safe_backends = _get_testable_interactive_backends()

0 commit comments

Comments
 (0)
0