Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3db734f commit ef667a3Copy full SHA for ef667a3
1 file changed
lib/matplotlib/tests/test_widgets.py
@@ -347,14 +347,15 @@ def test_TextBox():
347
348
assert tool.text == ''
349
assert text_change_event.call_count == 1
350
-
+
351
+ do_event(tool, '_click')
352
353
+ tool.set_val('x**2')
354
tool.begin_typing(tool.text)
355
tool.stop_typing()
- do_event(tool, '_click')
356
- assert submit_event.call_count == 2
357
+ assert submit_event.call_count == 3
358
- tool.set_val('x**2')
359
do_event(tool, '_click')
360
do_event(tool, '_keypress', key='+')
361
do_event(tool, '_keypress', key='5')
0 commit comments