(filename)
| 35 | Test that latex_to_png_dvipng just runs without error. |
| 36 | """ |
| 37 | def mock_kpsewhich(filename): |
| 38 | nt.assert_equal(filename, "breqn.sty") |
| 39 | return None |
| 40 | |
| 41 | for (s, wrap) in [(u"$$x^2$$", False), (u"x^2", True)]: |
| 42 | yield (latextools.latex_to_png_dvipng, s, wrap) |