History

python/tests/test_phasevoc.py: add a note about ocasional crash

Paul Brossier committed 10 years ago

Commit 98e9d691 parent 69378421 file · +4 −1Browse files

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

Unified · Split

python/tests/test_phasevoc.py+4−1
@@ -74,7 +74,10 @@ class aubio_pvoc_test_case(TestCase): · 73 unmodified lines
74 r2 = f.rdo( f(sigin) )74 r2 = f.rdo( f(sigin) )
75 for i in range(1, ratio):75 for i in range(1, ratio):
76 r2 = f.rdo( f(zeros) )76 r2 = f.rdo( f(zeros) )
77 return r277
78 # FIXME: if we don't return a copy here, test_phasevoc.py will crash
79 # once in a while
80 return np.copy(r2)
78 81
79 def plot_this( self, this ):82 def plot_this( self, this ):
80 from pylab import semilogy, show83 from pylab import semilogy, show

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