From 2bd1ea30b98f5b76ff3ea1d61132c6ecf6ba9769 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Tue, 24 Oct 2017 11:02:00 +0200 Subject: [PATCH] Debugger: port python debug test to python 3 Change-Id: I1e546b8c151f59432292118a0a6b4d913196e79b Reviewed-by: hjk --- tests/manual/debugger/python/math.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/manual/debugger/python/math.py b/tests/manual/debugger/python/math.py index 3a1dd06891e..c21ad293c59 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()