From 05e9a7dd81e99620107f6ed30e3b1a0bfe1eacb0 Mon Sep 17 00:00:00 2001 From: Elizaveta Shashkova Date: Tue, 2 May 2017 18:52:36 +0300 Subject: [PATCH] Fix tests for checking adding breakpoint while running (PY-24026) --- python/testData/debug/test_runtoline.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/python/testData/debug/test_runtoline.py b/python/testData/debug/test_runtoline.py index f0f77b49ffa6..5ac394f937cf 100644 --- a/python/testData/debug/test_runtoline.py +++ b/python/testData/debug/test_runtoline.py @@ -1,17 +1,12 @@ from time import sleep - -def foo(x): - print(x) - x = 0 print(x) -foo(x) -while x<2: - x+=1 +while x < 2: + x += 1 print(x) -x+=10 +x += 10 print("x = %d" % x) while True: - sleep(0.1) \ No newline at end of file + sleep(0.1)