|
13 | 13 | import unittest |
14 | 14 |
|
15 | 15 |
|
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 | | - |
27 | 16 | class TestUnitData(object): |
28 | 17 | testdata = [("hello world", ["hello world"], [0]), |
29 | 18 | ("Здравствуйте мир", ["Здравствуйте мир"], [0]), |
@@ -157,7 +146,6 @@ def axis_test(self, axis, ticks, labels, unit_data): |
157 | 146 |
|
158 | 147 | @cleanup |
159 | 148 | def test_plot_unicode(self): |
160 | | - # Image test would fail on numpy 1.6 |
161 | 149 | words = ['Здравствуйте', 'привет'] |
162 | 150 | locs = [0.0, 1.0] |
163 | 151 | unit_data = MockUnitData(zip(words, locs)) |
|
0 commit comments