Author: Armin Rigo <ar...@tunes.org> Branch: py3.5 Changeset: r88764:eb1deae2805b Date: 2016-11-30 15:05 +0100 http://bitbucket.org/pypy/pypy/changeset/eb1deae2805b/
Log: fix test diff --git a/pypy/module/pypyjit/test_pypy_c/test_struct.py b/pypy/module/pypyjit/test_pypy_c/test_struct.py --- a/pypy/module/pypyjit/test_pypy_c/test_struct.py +++ b/pypy/module/pypyjit/test_pypy_c/test_struct.py @@ -21,7 +21,7 @@ while i < n: buf = struct.pack("<i", i) # ID: pack x = struct.unpack("<i", buf)[0] # ID: unpack - i += x / i + i += x // i return i log = self.run(main, [1000]) @@ -82,7 +82,7 @@ while i < n: buf = s.pack(-1, i) # ID: pack x = s.unpack(buf)[1] # ID: unpack - i += x / i + i += x // i return i log = self.run(main, [1000]) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit