shithub: aubio

Download patch

ref: ddfa6be05ff1bd7af09115bb05868473f51ec737
parent: 1827c498cf3df3b76d27c5ea8a4d3552f5ba60e4
author: Paul Brossier <piem@piem.org>
date: Tue May 10 17:05:06 EDT 2016

python/tests/test_mathutils: fix test_miditobin test

--- a/python/tests/test_mathutils.py
+++ b/python/tests/test_mathutils.py
@@ -70,7 +70,7 @@
 
     def test_miditobin(self):
         a = list(range(-30, 200)) + [-100000, 10000]
-        b = [ bintomidi(x, 44100, 512) for x in a ]
+        b = [ miditobin(x, 44100, 512) for x in a ]
         #print zip(a, b)
         assert_equal ( isnan(array(b)), False )
         assert_equal ( isinf(array(b)), False )