squelch coverage of ipython display hook

This commit is contained in:
Nathan Page 2020-12-28 19:18:14 -08:00
parent edb38d59d6
commit 028a34cbc1
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ def install(
)
builtins._ = value # type: ignore
def ipy_display_hook(value: Any) -> None:
def ipy_display_hook(value: Any) -> None: # pragma: no cover
assert console is not None
# always skip rich generated jupyter renderables or None values
if isinstance(value, JupyterRenderable) or value is None: