@testing.requires_testing_data
@requires_mayavi
def test_subject_source():
 from mne.gui._file_traits import MRISubjectSource
 mri = MRISubjectSource()
 mri.subjects_dir = subjects_dir
 assert_true(('sample' in mri.subjects))
 mri.subject = 'sample'

@ testing . requires_testing_data @ requires_mayavi def test_subject_source ( ) : from mne . gui . _file_traits import MRISubjectSource mri = MRISubjectSource ( ) mri . subjects_dir = subjects_dir assert_true ( ( 'sample' in mri . subjects ) ) mri . subject = 'sample'
test subjectselector .