tests/test_mathutils.py: can be TypeError or NotImplementedError
authorPaul Brossier <piem@piem.org>
Wed, 6 Mar 2013 20:39:47 +0000 (15:39 -0500)
committerPaul Brossier <piem@piem.org>
Wed, 6 Mar 2013 20:39:47 +0000 (15:39 -0500)
python/tests/test_mathutils.py

index 4bb223e9f67acee1f9e106cabaf6e6be1abc6a02..ace240afd8ccd8c17683c2c8409a2c0412c3739d 100755 (executable)
@@ -29,7 +29,7 @@ class aubio_mathutils(TestCase):
 
         try:
             print unwrap2pi(["23.","24.",25.])
-        except TypeError:
+        except Exception, e:
             pass
 
     def test_unwrap2pi_takes_fvec(self):