From ddd7957dcfa69cb58d33a6ba207a8f8fb9854188 Mon Sep 17 00:00:00 2001 From: Elizaveta Shashkova Date: Sun, 17 Sep 2017 17:51:51 +0300 Subject: [PATCH] Fix a test for the new behaviour (PY-9537) --- python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java b/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java index f06e2edba8b5..769e123163eb 100644 --- a/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java +++ b/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java @@ -1310,7 +1310,7 @@ public class PythonDebuggerTest extends PyEnvTestCase { eval("x").hasValue("1"); // try to jump into a loop pair = setNextStatement(9); - waitForPause(); + // do not wait for pause here, because we don't refresh suspension for incorrect jumps assertFalse(pair.first); assertTrue(pair.second.startsWith("Error:")); resume();