File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,8 @@ def _get_testable_interactive_backends():
77
77
# The source of this function gets extracted and run in another process, so it
78
78
# must be fully self-contained.
79
79
# Using a timer not only allows testing of timers (on other backends), but is
80
- # also necessary on gtk3 and wx, where a direct call to key_press_event("q")
81
- # from draw_event causes breakage due to the canvas widget being deleted too
82
- # early. Also, gtk3 redefines key_press_event with a different signature, so
83
- # we directly invoke it from the superclass instead.
80
+ # also necessary on gtk3 and wx, where directly processing a KeyEvent() for "q"
81
+ # from draw_event causes breakage as the canvas widget gets deleted too early.
84
82
def _test_interactive_impl ():
85
83
import importlib
86
84
import importlib .util
You can’t perform that action at this time.
0 commit comments