shithub: aubio

Download patch

ref: d45f5274ff7a1232f0773c559bb0f3a48a5e839a
parent: 67537d79eda6ce4e5765b7ebf548be4a3946760d
author: Paul Brossier <piem@piem.org>
date: Thu Sep 22 18:55:53 EDT 2016

python/tests/test_source.py: filter user warnings to avoid spamming the console

--- a/python/tests/test_source.py
+++ b/python/tests/test_source.py
@@ -6,6 +6,9 @@
 from aubio import source
 from utils import list_all_sounds
 
+import warnings
+warnings.filterwarnings('ignore', category=UserWarning, append=True)
+
 list_of_sounds = list_all_sounds('sounds')
 samplerates = [0, 44100, 8000, 32000]
 hop_sizes = [512, 1024, 64]