[pypy-commit] pypy vmprof: fix the test
fijal
noreply at buildbot.pypy.org
Thu Apr 2 15:18:28 CEST 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: vmprof
Changeset: r76686:2418e4a66b75
Date: 2015-04-02 15:17 +0200
http://bitbucket.org/pypy/pypy/changeset/2418e4a66b75/
Log: fix the 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
@@ -21,6 +21,11 @@
i = 0
count = 0
i += 5 * WORD # header
+ assert s[i] == '\x04'
+ i += 1 # marker
+ assert s[i] == '\x04'
+ i += 1 # length
+ i += len('pypy')
while i < len(s):
assert s[i] == '\x02'
i += 1
More information about the pypy-commit
mailing list