spacepaste

  1.  
  2. File "/home/arigo/hg/pypy/default/pypy/module/cpyext/test/test_cpyext.py", line 117 in cleanup:
  3. ...
  4. except leakfinder.MallocMismatch as e:
  5. result = e.args[0]
  6. filtered_result = {}
  7. for obj in result:
  8. if not is_allowed_to_leak(self.space, obj):
  9. try:
  10. filtered_result[obj] = result[obj]
  11. except KeyError:
  12. > import os; os._exit(1)
  13. if filtered_result:
  14. raise leakfinder.MallocMismatch(filtered_result)
  15. assert not self.space.finalizer_queue.next_dead()
  16. (99282831)$
  17.