diff options
author | David Schulz <david.schulz@qt.io> | 2017-10-24 11:02:00 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2017-10-24 10:11:09 +0000 |
commit | 2bd1ea30b98f5b76ff3ea1d61132c6ecf6ba9769 (patch) | |
tree | 513ca61a2ffe827179c485c993ca56540c1cc504 /tests/manual/debugger | |
parent | 7dad30f160eef6355f04113dd21b0158e6e56819 (diff) |
Debugger: port python debug test to python 3
Change-Id: I1e546b8c151f59432292118a0a6b4d913196e79b
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'tests/manual/debugger')
-rw-r--r-- | tests/manual/debugger/python/math.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/manual/debugger/python/math.py b/tests/manual/debugger/python/math.py index 3a1dd06891..c21ad293c5 100644 --- a/tests/manual/debugger/python/math.py +++ b/tests/manual/debugger/python/math.py @@ -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() |