Skip to content

Commit 6f4eeff

Browse files
committed
Apply Daniel suggestions
1 parent ad4e0ff commit 6f4eeff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,10 @@ def test_kernel_kill(ipyconsole, qtbot, external_interpreter):
13991399
shell = ipyconsole.get_current_shellwidget()
14001400

14011401
# Wait for the restarter to start
1402-
qtbot.wait(3000)
1402+
qtbot.waitUntil(
1403+
lambda: shell._prompt_html is not None, timeout=SHELL_TIMEOUT
1404+
)
1405+
14031406
crash_string = 'import os, signal; os.kill(os.getpid(), signal.SIGTERM)'
14041407

14051408
# Check only one comm is open

0 commit comments

Comments
 (0)