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
7474 r2 = f.rdo( f(sigin) )
7575 for i in range(1, ratio):
7676 r2 = f.rdo( f(zeros) )
77− return r2
77+
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)
7881
7982 def plot_this( self, this ):
8083 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