Skip to content

Commit a2de5ea

Browse files
committed
revert strip_math tests
1 parent c831e85 commit a2de5ea

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/matplotlib/tests/test_cbook.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -918,12 +918,6 @@ def test_safe_first_element_with_none():
918918
assert actual is not None and actual == datetime_lst[1]
919919

920920

921-
def test_strip_math():
922-
assert strip_math(r'1 \times 2') == r'1 \times 2'
923-
assert strip_math(r'$1 \times 2$') == '1 x 2'
924-
assert strip_math(r'$\rm{hi}$') == 'hi'
925-
926-
927921
@pytest.mark.parametrize('fmt, value, result', [
928922
('%.2f m', 0.2, '0.20 m'),
929923
('{:.2f} m', 0.2, '0.20 m'),

0 commit comments

Comments
 (0)