This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to annotated tag v0.1
in repository python-mne.

commit 83f50662d5fcabf910ae3614520533b402f01061
Author: Alexandre Gramfort <[email protected]>
Date:   Thu May 5 18:11:31 2011 -0400

    TEST : better test in artifacts
---
 mne/artifacts/tests/__init__.py         | 0
 mne/artifacts/tests/test_peak_finder.py | 4 +++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/mne/artifacts/tests/__init__.py b/mne/artifacts/tests/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/mne/artifacts/tests/test_peak_finder.py 
b/mne/artifacts/tests/test_peak_finder.py
index 522f7fc..5c9356d 100644
--- a/mne/artifacts/tests/test_peak_finder.py
+++ b/mne/artifacts/tests/test_peak_finder.py
@@ -1,8 +1,10 @@
 import numpy as np
 from ..peak_finder import peak_finder
+from numpy.testing import assert_array_equal
+
 
 def test_peak_finder():
     """Test the peak detection method"""
     x = [0, 2, 5, 0, 6, -1]
     peak_inds, peak_mags = peak_finder(x)
-    print peak_inds
+    assert_array_equal(peak_inds, [2, 4])

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/python-mne.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to