MCPcopy Create free account
hub / github.com/ipython/ipython / mock_kpsewhich

Function mock_kpsewhich

IPython/lib/tests/test_latextools.py:37–39  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected