On Sat, Mar 23, 2013 at 2:40 PM, Alexandre Gramfort <
notifications@github.com> wrote:

> In mne/fiff/tests/test_evoked.py:
>
> > +
> > +
> > +def test_evoked_proj():
> > +    """Test SSP proj operations
> > +    """
> > +    for proj in [True, False]:
> > +        ave = read_evoked(fname, setno=0, proj=proj)
> > +        assert_true(all(p['active'] == proj for p in ave.info['projs']))
> > +
> > +        # test adding / deleting proj
> > +        if proj:
> > +            assert_raises(ValueError, ave.add_proj, [],
> > +                          {'remove_existing': True})
> > +            assert_raises(ValueError, ave.del_proj, 0)
> > +        else:
> > +            projs = deepcopy(ave.info['projs'])
>
> isn't that dangerous?
>
> —
>

this is just a test, or can we do any harm to users saying this?


> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/487/files#r3501249>
> .
>