Skip to content

Commit

Permalink
Exclude graphviz import from test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
joowani committed Mar 25, 2022
1 parent bd75150 commit 29fa433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binarytree/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

from graphviz import Digraph, nohtml

try:
try: # pragma: no cover
from graphviz.exceptions import ExecutableNotFound
except ImportError:
except ImportError: # pragma: no cover
# noinspection PyProtectedMember
from graphviz import ExecutableNotFound
from pkg_resources import get_distribution
Expand Down

0 comments on commit 29fa433

Please sign in to comment.