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 (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
2828 #print zip(a, b)
2929
3030 def test_unwrap2pi_fails_on_list(self):
31− with self.assertRaises(TypeError):
31+ with self.assertRaises((TypeError, NotImplementedError)):
3232 unwrap2pi(["23.","24.",25.])
3333
3434 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