projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ab20a
)
python/tests/test_fft.py: avoid VisibleDeprecationWarning
author
Paul Brossier
<piem@piem.org>
Sat, 14 May 2016 03:27:05 +0000
(
05:27
+0200)
committer
Paul Brossier
<piem@piem.org>
Sat, 14 May 2016 03:27:05 +0000
(
05:27
+0200)
python/tests/test_fft.py
patch
|
blob
|
history
diff --git
a/python/tests/test_fft.py
b/python/tests/test_fft.py
index
8ab92ef
..
93f7d51
100755
(executable)
--- a/
python/tests/test_fft.py
+++ b/
python/tests/test_fft.py
@@
-37,7
+37,7
@@
class aubio_fft_test_case(TestCase):
from random import random
from math import floor
win_s = 256
- i =
floor(random()*win_s
)
+ i =
int(floor(random()*win_s)
)
impulse = pi * random()
f = fft(win_s)
timegrain = fvec(win_s)