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 115
115
# images.
116
116
lightweight_math_tests = [
117
117
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
118
119
]
119
120
120
121
digits = "0123456789"
@@ -246,6 +247,8 @@ def test_fontinfo():
246
247
(r'$\left($' , r'Expected "\right"' ),
247
248
(r'$\dfrac$' , r'Expected \dfrac{num}{den}' ),
248
249
(r'$\dfrac{}{}$' , r'Expected \dfrac{num}{den}' ),
250
+ (r'$\overset$' , r'Expected \overset{body}{annotation}' ),
251
+ (r'$\underset$' , r'Expected \underset{body}{annotation}' ),
249
252
],
250
253
ids = [
251
254
'hspace without value' ,
@@ -266,6 +269,8 @@ def test_fontinfo():
266
269
'unclosed parentheses without sizing' ,
267
270
'dfrac without parameters' ,
268
271
'dfrac with empty parameters' ,
272
+ 'overset without parameters' ,
273
+ 'underset without parameters' ,
269
274
]
270
275
)
271
276
def test_mathtext_exceptions (math , msg ):
You can’t perform that action at this time.
0 commit comments