i noted. but this should not raise, because no eeg is evoked, right? it should raise whenever one type picked gets incomplete fields... if this one passes (with raises!) it's a bug.

On 18.01.2013, at 08:31, Eric89GXL <notifications@github.com> wrote:

> In mne/tests/test_viz.py:
> 
> > +
> > +def test_plot_topo_image_epochs():
> > +    """Test plotting of epochs image topography
> > +    """
> > +    title = 'ERF images - MNE sample data'
> > +    plot_topo_image_epochs(epochs, layout, sigma=0.5, vmin=-200, vmax=200,
> > +                           colorbar=True, title=title)
> > +
> > +
> > +def test_plot_evoked():
> > +    """Test plotting of evoked
> > +    """
> > +    evoked.plot(proj=True, hline=[1])
> > +    # Assert we get an error with incorrect dict specification
> > +    assert_raises(ValueError, plot_evoked, evoked, hline=[1],
> > +                  units=dict(eeg=10))
> It passes by virtue of not passing. Note the assert_raises...
> 
> —
> Reply to this email directly or view it on GitHub.
>