History

[py] fix pvoc tests on powerpc

Paul Brossier committed 7 years ago

Commit c60e0481 parent 69aaefa1 file · +2 −2Browse files

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

Unified · Split

python/tests/test_phasevoc.py+2−2
@@ -1,7 +1,7 @@
11 #! /usr/bin/env python
22
33 from numpy.testing import TestCase, assert_equal, assert_array_less
4−from _tools import parametrize
4+from _tools import parametrize, skipTest
55 from aubio import fvec, cvec, pvoc, float_type
66 import numpy as np
77
@@ -51,7 +51,7 @@ class Test_aubio_pvoc_test_case(object): · 43 unmodified lines
5151 assert_equal (s.phas[s.phas > 0], +np.pi)
5252 assert_equal (s.phas[s.phas < 0], -np.pi)
5353 assert_equal (np.abs(s.phas[np.abs(s.phas) != np.pi]), 0)
54− self.skipTest('pvoc(fvec(%d)).phas != +0, ' % win_s \
54+ skipTest('pvoc(fvec(%d)).phas != +0, ' % win_s \
5555 + 'This is expected when using fftw3 on powerpc.')
5656 assert_equal ( r, 0.)
5757

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