Skip to content

v1.9.0

Latest

Choose a tag to compare

@godlygeek godlygeek released this 01 Jul 21:36
v1.9.0

What's Changed

  • Drop support for pytest 7.x, which was superseded in January 2024. (#142)
  • For Python 3.13+, add support for failing a test if any objects created by that test survive past the test body finishing (via pytest.mark.limit_leaked_objects). Expected leaks can be filtered out and ignored. (#153)
  • Control how much detail the limit_memory marker shows on failure via pytest's -v / -q flags or the verbosity_memray ini option. At the default level or -v the top 10 allocations by size are shown; -vv lists every allocation; -q hides the allocation list entirely, leaving only the one-line failure summary. (#142)

New Contributors

Full Changelog: v1.8.0...v1.9.0