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

Skip to content

Commit aea1d94

Browse files
author
Fabian Kloosterman
committed
fixed errors exposed by checks on PR
1 parent c4f25e9 commit aea1d94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_scale.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def test_logscale_invert_transform():
8484
# direct test of log transform inversion
8585
assert isinstance(Log10Transform().inverted(), InvertedLog10Transform)
8686

87+
8788
def test_logscale_transform_repr():
8889
# check that repr of log transform succeeds
8990
fig, ax = plt.subplots()
@@ -92,7 +93,7 @@ def test_logscale_transform_repr():
9293

9394
# check that repr of log transform returns correct string
9495
s = repr(Log10Transform(nonpos='clip'))
95-
assert s == "Log10Transform('clip')"
96+
assert s == "Log10Transform({!r})".format('clip')
9697

9798

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

0 commit comments

Comments
 (0)