Skip to content

Commit

Permalink
Update mne/viz/tests/test_3d.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McCloy <[email protected]>
  • Loading branch information
larsoner and drammock authored Jun 10, 2024
1 parent b8f25b2 commit 52aab40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/viz/tests/test_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_plot_head_positions():
fig, ax = plt.subplots(subplot_kw=dict(projection="3d"))
plot_head_positions(pos, mode="field", info=info, axes=ax)
with pytest.raises(TypeError, match="must be an instance of ndarray"):
plot_head_positions(["pos"])
plot_head_positions(["foo"])
with pytest.raises(ValueError, match="must be dim"):
plot_head_positions(pos[:, :9])
with pytest.raises(ValueError, match="Allowed values"):
Expand Down

0 comments on commit 52aab40

Please sign in to comment.