Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d021b94

Browse files
dstansbyQuLogic
andcommitted
Fix test
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent cff969a commit d021b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/tests/test_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ def test_invalid_rotation_values():
717717
"for rotation"):
718718
Text(0, 0, 'foo', rotation='invalid string')
719719
with pytest.raises(TypeError,
720-
match="'s' must be an instance of numbers.Real"):
720+
match="'rotation' must be an instance of numbers.Real"):
721721
Text(0, 0, 'foo', rotation=[90])
722722

723723

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /