Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Mar 14, 2022
1 parent 86c29b6 commit a27e6f5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spyder/app/tests/test_mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,8 @@ def main_window(request, tmpdir, qtbot):
# Close consoles
(window.ipyconsole.get_widget()
.create_new_client_if_empty) = False
for client in window.ipyconsole.get_clients():
window.ipyconsole.close_client(
client=client, ask_recursive=False)
qtbot.wait(2000)
window.ipyconsole.get_widget().close_clients()
qtbot.wait(2000)

# Create new console and wait for it to appear
window.ipyconsole.create_new_client(give_focus=True)
Expand Down

0 comments on commit a27e6f5

Please sign in to comment.