History

python/tests/test_fft.py: avoid VisibleDeprecationWarning

Paul Brossier committed 10 years ago

Commit 2f4d9b71 parent a2ab20a1 file · +1 −1Browse files

Showing the changes to python/tests (1 of 1 file). Show all

Unified · Split

python/tests/test_fft.py+1−1
@@ -37,7 +37,7 @@ class aubio_fft_test_case(TestCase): · 36 unmodified lines
3737 from random import random
3838 from math import floor
3939 win_s = 256
40− i = floor(random()*win_s)
40+ i = int(floor(random()*win_s))
4141 impulse = pi * random()
4242 f = fft(win_s)
4343 timegrain = fvec(win_s)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t