From 6448d31a699c3233e2e90cf2dc2734dd86e98ead Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 23 Mar 2017 20:47:03 +0100 Subject: [PATCH] python/tests/test_sink.py: add missing samplerate --- python/tests/test_sink.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/tests/test_sink.py b/python/tests/test_sink.py index c31564a2..795032ba 100755 --- a/python/tests/test_sink.py +++ b/python/tests/test_sink.py @@ -117,10 +117,11 @@ class aubio_sink_test_case(TestCase): del_tmp_sink_path(sink_path) def test_read_with(self): - sink_path =get_tmp_sink_path() + samplerate = 44100 + sink_path = get_tmp_sink_path() vec = fvec(128) with sink(sink_path, samplerate) as g: - for i in range(10): + for _ in range(10): g(vec, 128) if __name__ == '__main__': -- 2.11.0