##// END OF EJS Templates
Fix test for latextools under Python 2...
Thomas Kluyver -
Show More
@@ -43,7 +43,7 b' def test_latex_to_png_dvipng_runs():'
43 nt.assert_equals(filename, "breqn.sty")
43 nt.assert_equals(filename, "breqn.sty")
44 return None
44 return None
45
45
46 for (s, wrap) in [("$$x^2$$", False), ("x^2", True)]:
46 for (s, wrap) in [(u"$$x^2$$", False), (u"x^2", True)]:
47 yield (latextools.latex_to_png_dvipng, s, wrap)
47 yield (latextools.latex_to_png_dvipng, s, wrap)
48
48
49 with monkeypatch(latextools, "kpsewhich", mock_kpsewhich):
49 with monkeypatch(latextools, "kpsewhich", mock_kpsewhich):
General Comments 0
You need to be logged in to leave comments. Login now