[pypy-commit] pypy vmprof-newstack: change pdb to some asserts
fijal
pypy.commits at gmail.com
Fri Jan 22 09:19:34 EST 2016
Author: fijal
Branch: vmprof-newstack
Changeset: r81917:ffec42c76f43
Date: 2016-01-22 15:18 +0100
http://bitbucket.org/pypy/pypy/changeset/ffec42c76f43/
Log: change pdb to some asserts
diff --git a/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py b/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py
--- a/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py
+++ b/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py
@@ -74,8 +74,8 @@
tmpfile = str(udir.join('test_rvmprof'))
stats = read_profile(tmpfile)
t = stats.get_tree()
- import pdb
- pdb.set_trace()
+ assert t.name == 'py:x:foo:3'
+ assert len(t.children) == 1 # jit
self.meta_interp(f, [1000000], inline=True)
try:
More information about the pypy-commit
mailing list