Fix tests for checking adding breakpoint while running (PY-24026)

This commit is contained in:
Elizaveta Shashkova
2017-06-06 18:51:51 +03:00
parent abfca5af46
commit 05e9a7dd81
+4 -9
View File
@@ -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)
sleep(0.1)