Skip to content

Commit 6de0ea3

Browse files
committed
Fix mypy and coverage issue
1 parent b9e58a3 commit 6de0ea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asyncssh/sk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,12 +353,12 @@ def _sk_not_available(*args: object, **kwargs: object) -> NoReturn:
353353
sk_sign = _sk_not_available
354354
sk_get_resident = _sk_not_available
355355

356-
try:
356+
try: # pragma: no cover
357357
from fido2.client.windows import WindowsClient
358358

359359
sk_use_webauthn = WindowsClient.is_available() and \
360360
hasattr(ctypes, 'windll') and \
361361
not ctypes.windll.shell32.IsUserAnAdmin()
362362
except ImportError:
363-
WindowsClient = None
363+
WindowsClient = None # type: ignore
364364
sk_use_webauthn = False

0 commit comments

Comments
 (0)