Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d52a6c4

Browse files
committed
TST: remove stringent test to repr in test_scales
1 parent 8db4b40 commit d52a6c4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/matplotlib/tests/test_scale.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ def test_logscale_transform_repr():
8989
ax.set_yscale('log')
9090
s = repr(ax.transData)
9191

92-
# check that repr of log transform returns correct string
92+
# check that repr of log transform succeeds
9393
s = repr(Log10Transform(nonpos='clip'))
94-
assert s == "Log10Transform({!r})".format('clip')
9594

9695

9796
@image_comparison(baseline_images=['logscale_nonpos_values'], remove_text=True,

0 commit comments

Comments
 (0)