Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix graphviz check in pass manager visualization
This commit fixes the graphviz check in the pass manager visualization added recently in Qiskit#2445. The check was added to determine if the dot command was in the default PATH by trying to subprocess out and run 'dot -V' however the way in which subprocess was called results in both the dot version string and a blank line being printed if graphviz is actually installed. This happens on import time which we definitely don't want to do (and breaks test discovery in stestr).
- Loading branch information