Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r88588:bf7b4bdeda0e
Date: 2016-11-23 17:44 +0000
http://bitbucket.org/pypy/pypy/changeset/bf7b4bdeda0e/
Log: 2to3fy test
diff --git a/pypy/module/pypyjit/test_pypy_c/test_shift.py
b/pypy/module/pypyjit/test_pypy_c/test_shift.py
--- a/pypy/module/pypyjit/test_pypy_c/test_shift.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_shift.py
@@ -47,9 +47,9 @@
res = 0
a = 0
while a < 300:
- res1 = a/b # ID: div
- res2 = a/2 # ID: shift
- res3 = a/11 # ID: mul
+ res1 = a // b # ID: div
+ res2 = a // 2 # ID: shift
+ res3 = a // 11 # ID: mul
res += res1 + res2 + res3
a += 1
return res
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit