From a6f9ebfcd50eb432b9f2c8a7f32877e6dbb76d04 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 16 May 2016 05:23:56 +0200 Subject: [PATCH] python/tests/test_mathutils.py: can also raise NotImplementedError (darwin) --- python/tests/test_mathutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_mathutils.py b/python/tests/test_mathutils.py index afdfd6af..f68fb110 100755 --- a/python/tests/test_mathutils.py +++ b/python/tests/test_mathutils.py @@ -28,7 +28,7 @@ class aubio_mathutils(TestCase): #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): -- 2.11.0