Skip to content

Commit 5a5283d

Browse files
committed
Testing
1 parent 3f64eb8 commit 5a5283d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: spyder/app/tests/test_mainwindow.py

+3-3
Original file line numberDiff line numberDiff 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()])

0 commit comments

Comments
 (0)