@testing.requires_testing_data
@requires_mayavi
def test_fiducials_source():
 from mne.gui._file_traits import FiducialsSource
 fid = FiducialsSource()
 fid.file = fid_path
 points = array([[(-0.08061612), (-0.02908875), (-0.04131077)], [0.00146763, 0.08506715, (-0.03483611)], [0.08436285, (-0.02850276), (-0.04127743)]])
 assert_allclose(fid.points, points, 1e-06)
 fid.file = ''
 assert_equal(fid.points, None)

@ testing . requires_testing_data @ requires_mayavi def test_fiducials_source ( ) : from mne . gui . _file_traits import FiducialsSource fid = FiducialsSource ( ) fid . file = fid_path points = array ( [ [ ( - 0.08061612 ) , ( - 0.02908875 ) , ( - 0.04131077 ) ] , [ 0.00146763 , 0.08506715 , ( - 0.03483611 ) ] , [ 0.08436285 , ( - 0.02850276 ) , ( - 0.04127743 ) ] ] ) assert_allclose ( fid . points , points , 1e-06 ) fid . file = '' assert_equal ( fid . points , None )
test fiducialssource .