def METHOD_NAME(self):
    """Test that a memory marginalizes correctly with indices=None."""
    memory = [hex(ii) for ii in range(8)]
    res = marginal_memory(memory, hex_return=True)
    self.assertEqual(res, memory)