- File "/home/arigo/hg/pypy/default/pypy/module/cpyext/test/test_cpyext.py", line 117 in cleanup:
- ...
- except leakfinder.MallocMismatch as e:
- result = e.args[0]
- filtered_result = {}
- for obj in result:
- if not is_allowed_to_leak(self.space, obj):
- try:
- filtered_result[obj] = result[obj]
- except KeyError:
- > import os; os._exit(1)
- if filtered_result:
- raise leakfinder.MallocMismatch(filtered_result)
- assert not self.space.finalizer_queue.next_dead()
- (99282831)$