pypy/module/_lsprof/test/test_cprofile.py::AppTestCProfile::()::test_builtins
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000000b4df248>
def test_builtins(self):
import _lsprof
prof = _lsprof.Profiler()
lst = []
prof.enable()
lst.append(len(lst))
prof.disable()
stats = prof.getstats()
expected = (
"<built-in method builtins.len>",
"<method 'append' of 'list' objects>",
"<method 'disable' of '_lsprof.Profiler' objects>",
)
for entry in stats:
> assert entry.code in expected
E (application-level) AssertionError
[/buildbot/slave/own-linux-x86-64/build/pypy/module/_lsprof/test/test_cprofile.py:13]:15: AssertionError
builder: own-linux-x86-64 build #10960+
test: pypy/module/_lsprof/test/test_cprofile.py::AppTestCProfile::()::test_builtins