[pypy-commit] pypy default: Fix test__vmprof
arigo
noreply at buildbot.pypy.org
Fri Sep 25 18:45:08 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r79841:9c3d2bdbb1fa
Date: 2015-09-25 18:41 +0200
http://bitbucket.org/pypy/pypy/changeset/9c3d2bdbb1fa/
Log: Fix test__vmprof
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
@@ -34,6 +34,7 @@
i += 1
_, size = struct.unpack("ll", s[i:i + 2 * WORD])
i += 2 * WORD + size * struct.calcsize("P")
+ i += WORD # thread id
elif s[i] == '\x02':
i += 1
_, size = struct.unpack("ll", s[i:i + 2 * WORD])
More information about the pypy-commit
mailing list