History

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

Paul Brossier committed 10 years ago

Commit a6f9ebf1 parent 0b6d23d1 file · +1 −1Browse files

Showing the changes to python/tests (1 of 1 file). Show all

Unified · Split

python/tests/test_mathutils.py+1−1
@@ -28,7 +28,7 @@ class aubio_mathutils(TestCase): · 27 unmodified lines
28 #print zip(a, b)28 #print zip(a, b)
29 29
30 def test_unwrap2pi_fails_on_list(self):30 def test_unwrap2pi_fails_on_list(self):
31 with self.assertRaises(TypeError):31 with self.assertRaises((TypeError, NotImplementedError)):
32 unwrap2pi(["23.","24.",25.])32 unwrap2pi(["23.","24.",25.])
33 33
34 def test_unwrap2pi_takes_fvec(self):34 def test_unwrap2pi_takes_fvec(self):

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t