8000 Add assert to make sure tuple logic isn't removed. · matplotlib/matplotlib@78ca288 · GitHub
[go: up one dir, main page]

Skip to content

Commit 78ca288

Browse files
committed
Add assert to make sure tuple logic isn't removed.
1 parent 7329d6a commit 78ca288

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_cbook.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,3 +910,4 @@ def test_safe_first_element_with_none():
910910
def test_auto_format_str(fmt, value, result):
911911
"""Apply *value* to the format string *fmt*."""
912912
assert cbook._auto_format_str(fmt, value) == result
913+
assert cbook._auto_format_str(fmt, np.float64(value)) == result

0 commit comments

Comments
 (0)
0