File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3825,20 +3825,20 @@ def processEvents():
38253825
38263826 processEvents .called = False
38273827 try :
3828+ QApplication .processEvents ()
38283829 QApplication .processEvents = processEvents
3830+
38293831 # Debug and open both files
38303832 with qtbot .waitSignal (shell .executed ):
38313833 shell .execute ('%debug' )
3832- assert not processEvents .called
38333834 with qtbot .waitSignal (shell .executed ):
38343835 qtbot .keyClicks (control , '!u' )
38353836 qtbot .keyClick (control , Qt .Key_Enter )
3836- assert not processEvents . called
3837+
38373838 # Wait until both files are open
38383839 qtbot .waitUntil (
38393840 lambda : osp .normpath (str (test_file )) in [
38403841 osp .normpath (p ) for p in main_window .editor .get_filenames ()])
3841- assert not processEvents .called
38423842 qtbot .waitUntil (
38433843 lambda : str (test_file2 ) in [
38443844 osp .normpath (p ) for p in main_window .editor .get_filenames ()])
You can’t perform that action at this time.
0 commit comments