We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04b97d commit 0abb51fCopy full SHA for 0abb51f
lib/matplotlib/tests/test_contour.py
@@ -108,19 +108,18 @@ def test_contour_shape_mismatch_4():
108
try:
109
ax.contour(b, g, z)
110
except TypeError as exc:
111
- print(exc.args[0])
112
assert re.match(
113
r'Shape of x does not match that of z: ' +
114
r'found \(9L?, 9L?\) instead of \(9L?, 10L?\)\.',
115
- exc.args[0]) is not None
+ exc.args[0]) is not None, exc.args[0]
116
117
118
ax.contour(g, b, z)
119
120
121
r'Shape of y does not match that of z: ' +
122
123
124
125
126
@cleanup
0 commit comments