projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cb48d2
)
python/tests/test_sink.py: add missing samplerate
author
Paul Brossier
<piem@piem.org>
Thu, 23 Mar 2017 19:47:03 +0000
(20:47 +0100)
committer
Paul Brossier
<piem@piem.org>
Thu, 23 Mar 2017 19:47:03 +0000
(20:47 +0100)
python/tests/test_sink.py
patch
|
blob
|
history
diff --git
a/python/tests/test_sink.py
b/python/tests/test_sink.py
index
c31564a
..
795032b
100755
(executable)
--- 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__':