Skip to content

Commit 58c5567

Browse files
tests: Uncoverable lines
1 parent e4b3e0f commit 58c5567

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ansys/tools/common/abstractions/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
try:
2727
import grpc
28-
except ImportError:
28+
except ImportError: # pragma: no cover
2929
import warnings
3030

3131
warnings.warn(

src/ansys/tools/common/abstractions/launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class LauncherProtocol(Protocol[LAUNCHER_CONFIG_T]):
136136
"""
137137

138138
def __init__(self, *, config: LAUNCHER_CONFIG_T):
139-
pass
139+
pass # pragma: no cover
140140

141141
def start(self) -> None:
142142
"""Start the product instance."""

src/ansys/tools/common/launcher/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class LauncherProtocol(Protocol[LAUNCHER_CONFIG_T]):
136136
"""
137137

138138
def __init__(self, *, config: LAUNCHER_CONFIG_T):
139-
pass
139+
pass # pragma: no cover
140140

141141
def start(self) -> None:
142142
"""Start the product instance."""

0 commit comments

Comments
 (0)