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: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit