8000 Remove unnecessary print in middle of test. · matplotlib/matplotlib@d085fc3 · GitHub
[go: up one dir, main page]

Skip to content

Commit d085fc3

Browse files
committed
Remove unnecessary print in middle of test.
1 parent a07a3cd commit d085fc3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/tests/test_contour.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,18 @@ def test_contour_shape_mismatch_4():
108108
try:
109109
ax.contour(b, g, z)
110110
except TypeError as exc:
111-
print(exc.args[0])
112111
assert re.match(
113112
r'Shape of x does not match that of z: ' +
114113
r'found \(9L?, 9L?\) instead of \(9L?, 10L?\)\.',
115-
exc.args[0]) is not None
114+
exc.args[0]) is not None, exc.args[0]
116115

117116
try:
118117
ax.contour(g, b, z)
119118
except TypeError as exc:
120119
assert re.match(
121120
r'Shape of y does not match that of z: ' +
122121
r'found \(9L?, 9L?\) instead of \(9L?, 10L?\)\.',
123-
exc.args[0]) is not None
122+
exc.args[0]) is not None, exc.args[0]
124123

125124

126125
@cleanup

0 commit comments

Comments
 (0)
0