mirror of https://github.com/Textualize/rich.git
squelch coverage of ipython display hook
This commit is contained in:
parent
edb38d59d6
commit
028a34cbc1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue