8000 Fix broken backported test by dstansby · Pull Request #8004 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix broken backported test #8004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 1, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
PEP8
  • Loading branch information
dstansby committed Jan 31, 2017
commit 6b2e116e77b1a69363c0beb96cce06a0f07f359f
3 changes: 2 additions & 1 deletion lib/matplotlib/tests/test_marker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from matplotlib import markers
from nose.tools import assert_raises


def test_markers_valid():
marker_style = markers.MarkerStyle()
mrk_array = np.array([[-0.5, 0],
Expand All @@ -12,7 +13,7 @@ def test_markers_valid():

def test_markers_invalid():
marker_style = markers.MarkerStyle()
mrk_array = np.array([[-0.5, 0, 1, 2, 3]])
mrk_array = np.array([[-0.5, 0, 1, 2, 3]])
# Checking this does fail.
with assert_raises(ValueError):
marker_style.set_marker(mrk_array)
0