def test_fiducials_source(): """Test FiducialsSource""" 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-6) fid.file = '' assert_equal(fid.points, None)