Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

pypy/module/_lsprof/test/test_cprofile.py::AppTestCProfile::()::test_builtins

self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001b03f014790>

    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

[d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_lsprof\test\test_cprofile.py:13]:15: AssertionError
builder: own-win-x86-64 build #2237
test: pypy/module/_lsprof/test/test_cprofile/py/AppTestCProfile/()/test_builtins