Skip to content

Commit 29fa433

Browse files
committed
Exclude graphviz import from test coverage
1 parent bd75150 commit 29fa433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

binarytree/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222

2323
from graphviz import Digraph, nohtml
2424

25-
try:
25+
try: # pragma: no cover
2626
from graphviz.exceptions import ExecutableNotFound
27-
except ImportError:
27+
except ImportError: # pragma: no cover
2828
# noinspection PyProtectedMember
2929
from graphviz import ExecutableNotFound
3030
from pkg_resources import get_distribution

0 commit comments

Comments
 (0)