Author: Manuel Jacob <m...@manueljacob.de> Branch: py3.5 Changeset: r92517:42233a3efdd4 Date: 2017-09-29 20:44 +0200 http://bitbucket.org/pypy/pypy/changeset/42233a3efdd4/
Log: Fix vmprof test. diff --git a/pypy/module/_vmprof/test/test__vmprof.py b/pypy/module/_vmprof/test/test__vmprof.py --- a/pypy/module/_vmprof/test/test__vmprof.py +++ b/pypy/module/_vmprof/test/test__vmprof.py @@ -45,10 +45,10 @@ _, size = struct.unpack("ll", s[i:i + 2 * WORD]) count += 1 i += 2 * WORD + size - elif s[i] == '\x06': + elif s[i] == 6: print(s[i:i+24]) i += 1+8+8+8 - elif s[i] == '\x07': + elif s[i] == 7: i += 1 # skip string size, = struct.unpack("l", s[i:i + WORD]) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit