Skip to content

Commit 08c8265

Browse files
committed
added test for matplotlib#9843
1 parent 5e7a4b0 commit 08c8265

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎lib/matplotlib/tests/test_category.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ class TestStrCategoryConverter(object):
7575
-np.inf: 3, np.inf: 4, np.nan: 5}),
7676
("integer string", {"!": 0, "0": 1, 0: 1}),
7777
("number", {0.0: 0.0}),
78-
("number string", {'42': 0, 42: 1})]
78+
("number string", {'42': 0, 42: 1}),
79+
("single + values>10", {'A': 0, 'B': 1, 'C': 2,
80+
'D': 3, 'E': 4, 'F': 5,
81+
'G': 6, 'H': 7, 'I': 8,
82+
'J': 9, 'K': 10})]
7983

8084
ids, unitmaps = zip(*test_cases)
8185

0 commit comments

Comments
 (0)