def METHOD_NAME(self):
    records = [
        MockAllocationRecord(1, 0x2000000, 1024, AllocatorType.MALLOC, 0, 0, []),
        MockAllocationRecord(1, 0x1000000, 1024, AllocatorType.VALLOC, 0, 0, []),
        MockAllocationRecord(1, 0x2000000, 0, AllocatorType.FREE, 0, 0, []),
        MockAllocationRecord(1, 0x1000000, 0, AllocatorType.FREE, 0, 0, []),
    ]
    assert list(filter_relevant_allocations(records)) == [
        MockAllocationRecord(1, 0x1000000, 1024, AllocatorType.VALLOC, 0, 0, []),
        MockAllocationRecord(1, 0x1000000, 0, AllocatorType.FREE, 0, 0, []),
    ]