Skip to content

Commit 83a5604

Browse files
committed
fix coverage by ignoring line
1 parent 2fec3f9 commit 83a5604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sacroml/attacks/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def get_shadow_model(shadow_path: str, idx: int) -> tuple[Any, np.ndarray, np.nd
152152
def get_n_shadow_models(shadow_path: str) -> int:
153153
"""Return the number shadow models saved."""
154154
count: int = 0
155-
for item in os.listdir(shadow_path):
155+
for item in os.listdir(shadow_path): # pragma: no cover
156156
item_path = os.path.join(shadow_path, item)
157157
if os.path.isdir(item_path):
158158
count += 1

0 commit comments

Comments
 (0)