Skip to content

Commit a330fba

Browse files
committed
Coverage pragma for uncaught exception
1 parent b6da108 commit a330fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yggdrasil/metaschema/encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def string2import(s):
4040
try:
4141
mod = importlib.import_module(pkg_mod[0])
4242
s = getattr(mod, pkg_mod[1])
43-
except (ImportError, AttributeError):
43+
except (ImportError, AttributeError): # pragma: debug
4444
pass
4545
return s
4646

0 commit comments

Comments
 (0)