From 2f4d9b70b4e49a7bf41139abb4f09fbf4158a58b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 14 May 2016 05:27:05 +0200 Subject: [PATCH] python/tests/test_fft.py: avoid VisibleDeprecationWarning --- python/tests/test_fft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_fft.py b/python/tests/test_fft.py index 8ab92ef1..93f7d51b 100755 --- 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) -- 2.11.0