shithub: aubio

Download patch

ref: 7498e482ffe8a31a9135a30527a7603ce4444f25
parent: 1f87c1b747d5477377cdb1f2c82935d5fc6dc87b
author: Paul Brossier <piem@piem.org>
date: Sat Apr 30 02:37:15 EDT 2016

python/tests/test_fft.py: make sure cvec is large enough

--- a/python/tests/test_fft.py
+++ b/python/tests/test_fft.py
@@ -153,7 +153,7 @@
     def test_large_input_fftgrain(self):
         win_s = 1024
         f = fft(win_s)
-        s = cvec(win_s + 1)
+        s = cvec(win_s + 5)
         with self.assertRaises(ValueError):
             f.rdo(s)