Author: Maciej Fijalkowski <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit