Fixing tests and LaTeX
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e2d259f866
commit
42d5add810
6 changed files with 35 additions and 30 deletions
|
@ -31,7 +31,7 @@ latex.SHOW_GUI_MESSAGES = False
|
|||
@pytest.fixture()
|
||||
def latex_obj():
|
||||
directory = TemporaryDirectory()
|
||||
obj = latex.Latex(directory)
|
||||
obj = latex.Latex(directory.name)
|
||||
if not obj.checkLatexInstallation():
|
||||
raise Exception("Cannot run LaTeX tests without a proper LaTeX installation. Make sure to install a LaTeX distribution, DVIPNG, and the calligra package, and run the tests again.")
|
||||
yield obj
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue