File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 115115# images.
116116lightweight_math_tests = [
117117 r'$\sqrt[ab]{123}$' , # github issue #8665
118+ r'$x \overset{f}{\rightarrow} \overset{f}{x} \underset{xx}{ff} \overset{xx}{ff} \underset{f}{x} \underset{f}{\leftarrow} x$' , # github issue #18241
118119]
119120
120121digits = "0123456789"
@@ -246,6 +247,8 @@ def test_fontinfo():
246247 (r'$\left($' , r'Expected "\right"' ),
247248 (r'$\dfrac$' , r'Expected \dfrac{num}{den}' ),
248249 (r'$\dfrac{}{}$' , r'Expected \dfrac{num}{den}' ),
250+ (r'$\overset$' , r'Expected \overset{body}{annotation}' ),
251+ (r'$\underset$' , r'Expected \underset{body}{annotation}' ),
249252 ],
250253 ids = [
251254 'hspace without value' ,
@@ -266,6 +269,8 @@ def test_fontinfo():
266269 'unclosed parentheses without sizing' ,
267270 'dfrac without parameters' ,
268271 'dfrac with empty parameters' ,
272+ 'overset without parameters' ,
273+ 'underset without parameters' ,
269274 ]
270275)
271276def test_mathtext_exceptions (math , msg ):
You can’t perform that action at this time.
0 commit comments