pytest-memray icon indicating copy to clipboard operation
pytest-memray copied to clipboard

Reduce verbosity of @pytest.mark.limit_memory on failure

Open tekumara opened this issue 7 months ago • 1 comments

Feature Request

When limit_memory fails it outputs a long list of allocations (in my case 56k lines of allocations!) Being able to disable this, or show a very abbreviated summary, would be much more useful, eg:

Expected 10MB but got 20MB in allocations

tekumara avatar Apr 30 '25 10:04 tekumara

PS: Thank you for an awesome utility!

tekumara avatar Apr 30 '25 12:04 tekumara