'Test that convolve_fft raises an exception if a too-large array is passed in'

def test_big_fail(self):

    with pytest.raises((ValueError, MemoryError)):
        arr = np.empty([512, 512, 512], dtype=np.complex)
        convolve_fft(arr, arr)
