diff --git a/python/testData/debug/test_two_threads.py b/python/testData/debug/test_two_threads.py index 3286ccdf0e57..d0d1e75f561c 100644 --- a/python/testData/debug/test_two_threads.py +++ b/python/testData/debug/test_two_threads.py @@ -9,6 +9,7 @@ def fun1(n): def fun2(m): + sleep(2) for i in range(1000): sleep(0.01) #breakpoint print("finished fun2()", m) diff --git a/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java b/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java index 5b963e644d4b..ff44eb6c70f2 100644 --- a/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java +++ b/python/testSrc/com/jetbrains/env/python/PythonDebuggerTest.java @@ -916,7 +916,6 @@ public class PythonDebuggerTest extends PyEnvTestCase { } @Test - @Staging public void testReturnValues() throws Exception { runPythonTest(new PyDebuggerTask("/debug", "test_return_values.py") { @Override @@ -936,10 +935,10 @@ public class PythonDebuggerTest extends PyEnvTestCase { @Override public void testing() throws Exception { waitForPause(); - eval(PyDebugValue.RETURN_VALUES_PREFIX + "bar[0]").hasValue("1"); + eval(PyDebugValue.RETURN_VALUES_PREFIX + "['bar'][0]").hasValue("1"); resume(); waitForPause(); - eval(PyDebugValue.RETURN_VALUES_PREFIX + "foo").hasValue("33"); + eval(PyDebugValue.RETURN_VALUES_PREFIX + "['foo']").hasValue("33"); resume(); } });