shithub: aubio

Download patch

ref: a6f9ebfcd50eb432b9f2c8a7f32877e6dbb76d04
parent: 0b6d23d44dbc0a17a05664d928f38785d56d01f7
author: Paul Brossier <piem@piem.org>
date: Mon May 16 01:23:56 EDT 2016

python/tests/test_mathutils.py: can also raise NotImplementedError (darwin)

--- a/python/tests/test_mathutils.py
+++ b/python/tests/test_mathutils.py
@@ -28,7 +28,7 @@
         #print zip(a, b)
 
     def test_unwrap2pi_fails_on_list(self):
-        with self.assertRaises(TypeError):
+        with self.assertRaises((TypeError, NotImplementedError)):
             unwrap2pi(["23.","24.",25.])
 
     def test_unwrap2pi_takes_fvec(self):