Commit 2bd1ea30 authored by David Schulz's avatar David Schulz

Debugger: port python debug test to python 3

Change-Id: I1e546b8c151f59432292118a0a6b4d913196e79b
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 7dad30f1
......@@ -33,17 +33,17 @@ def testMath():
t = (1, 2, 3)
d = {1: 'one', 2: 'two', 'three': 3}
s = u'unixcode'
x = xrange(1, 10)
b = buffer("xxx")
x = range(1, 10)
# b = buffer("xxx")
x = square(a)
x = x * a
x = x + 1
x = x - 1
return x
print cube(3)
print cube(4)
print cube(5)
print(cube(3))
print(cube(4))
print(cube(5))
def main():
testMath()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment