File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3825,20 +3825,20 @@ def processEvents():
3825
3825
3826
3826
processEvents .called = False
3827
3827
try :
3828
+ QApplication .processEvents ()
3828
3829
QApplication .processEvents = processEvents
3830
+
3829
3831
# Debug and open both files
3830
3832
with qtbot .waitSignal (shell .executed ):
3831
3833
shell .execute ('%debug' )
3832
- assert not processEvents .called
3833
3834
with qtbot .waitSignal (shell .executed ):
3834
3835
qtbot .keyClicks (control , '!u' )
3835
3836
qtbot .keyClick (control , Qt .Key_Enter )
3836
- assert not processEvents . called
3837
+
3837
3838
# Wait until both files are open
3838
3839
qtbot .waitUntil (
3839
3840
lambda : osp .normpath (str (test_file )) in [
3840
3841
osp .normpath (p ) for p in main_window .editor .get_filenames ()])
3841
- assert not processEvents .called
3842
3842
qtbot .waitUntil (
3843
3843
lambda : str (test_file2 ) in [
3844
3844
osp .normpath (p ) for p in main_window .editor .get_filenames ()])
You can’t perform that action at this time.
0 commit comments