8000 Remove category string conversion test · matplotlib/matplotlib@2983fbd · GitHub
[go: up one dir, main page]

Skip to content

Commit 2983fbd

Browse files
committed
Remove category string conversion test
1 parent 13c965d commit 2983fbd

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/matplotlib/tests/test_category.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,6 @@
1313
import unittest
1414

1515

16-
class TestConvertToString(object):
17-
testdata = [("abc", "abc"), ("Здравствуйте мир", "Здравствуйте мир"),
18-
("3.14", 3.14), ("nan", np.nan),
19-
("inf", np.inf), ("-inf", -np.inf)]
20-
ids = ["string", "unicode", "decimal", "nan", "posinf", "neginf", ]
21-
22-
@pytest.mark.parametrize("expected, test", testdata, ids=ids)
23-
def test_convert_to_string(self, expected, test):
24-
assert expected == cat.convert_to_string(test)
25-
26-
2716
class TestUnitData(object):
2817
testdata = [("hello world", ["hello world"], [0]),
2918
("Здравствуйте мир", ["Здравствуйте мир"], [0]),
@@ -157,7 +146,6 @@ def axis_test(self, axis, ticks, labels, unit_data):
157146

158147
@cleanup
159148
def test_plot_unicode(self):
160-
# Image test would fail on numpy 1.6
161149
words = ['Здравствуйте', 'привет']
162150
locs = [0.0, 1.0]
163151
unit_data = MockUnitData(zip(words, locs))

0 commit comments

Comments
 (0)
0