Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--profile-svg doesn't output an error if graphviz is not installed #212

Open
twmr opened this issue Jan 19, 2023 · 2 comments
Open

--profile-svg doesn't output an error if graphviz is not installed #212

twmr opened this issue Jan 19, 2023 · 2 comments

Comments

@twmr
Copy link

twmr commented Jan 19, 2023

When graphviz is not installed and pytest is called with --profile-svg, the following line is output at the end of the pytest logs:

SVG profile in /home/..../myproj/prof/combined.svg.

But this file doesn't exist. After installing graphviz the svg exists. Please output an error when the dot command was not found.

@jackstephenson96
Copy link

+1, installed graphviz and still no SVG is generated despite seeing:
SVG profile in /home/..../project/prof/combined.svg.

@mikegerber
Copy link

Here, combinved.svg was created after installing graphviz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants