[med-svn] [python-mne] 27/353: fix test docstring + pyflakes

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:24:26 UTC 2015


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

yoh pushed a commit to tag 0.4
in repository python-mne.

commit 18fb4c40d4460edf437aabfe7b88afa2905972f6
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Mon Dec 12 16:29:24 2011 +0100

    fix test docstring + pyflakes
---
 mne/tests/test_source_estimate.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/mne/tests/test_source_estimate.py b/mne/tests/test_source_estimate.py
index 761e491..0d3e4bf 100644
--- a/mne/tests/test_source_estimate.py
+++ b/mne/tests/test_source_estimate.py
@@ -6,7 +6,7 @@ from numpy.testing import assert_array_almost_equal, assert_array_equal
 
 from ..datasets import sample
 from .. import stats
-from .. import read_stc, write_stc, read_w, write_w, SourceEstimate, morph_data
+from .. import read_stc, write_stc, SourceEstimate, morph_data
 from ..source_estimate import spatio_temporal_tris_connectivity, \
                                 spatio_temporal_src_connectivity
 
@@ -61,7 +61,7 @@ def test_stc_arithmetic():
 
         a += a
         a -= a
-        a /=  2 * a
+        a /= 2 * a
         a *= -a
 
         a += 2
@@ -93,7 +93,7 @@ def test_morph_data():
 
 
 def test_spatio_temporal_tris_connectivity():
-    """Test spatio-temporal connectivity"""
+    """Test spatio-temporal connectivity from triangles"""
     tris = np.array([[0, 1, 2], [3, 4, 5]])
     connectivity = spatio_temporal_tris_connectivity(tris, 2)
     x = [1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
@@ -103,7 +103,7 @@ def test_spatio_temporal_tris_connectivity():
 
 
 def test_spatio_temporal_src_connectivity():
-    """Test spatio-temporal connectivity"""
+    """Test spatio-temporal connectivity from source spaaces"""
     tris = np.array([[0, 1, 2], [3, 4, 5]])
     src = [dict(), dict()]
     connectivity = spatio_temporal_tris_connectivity(tris, 2)

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



More information about the debian-med-commit mailing list