From: Paul Brossier Date: Thu, 23 Mar 2017 19:47:03 +0000 (+0100) Subject: python/tests/test_sink.py: add missing samplerate X-Git-Tag: 0.4.5~46 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=6448d31a699c3233e2e90cf2dc2734dd86e98ead;p=aubio.git python/tests/test_sink.py: add missing samplerate --- 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__':