From 1fa067f13afe0d87cb0a4c7033b2f413d6092e03 2019-03-14 16:57:03 From: Matan Gover Date: 2019-03-14 16:57:03 Subject: [PATCH] Fix error message (image -> audio). --- diff --git a/IPython/lib/display.py b/IPython/lib/display.py index d9e1923..15fe566 100644 --- a/IPython/lib/display.py +++ b/IPython/lib/display.py @@ -85,7 +85,7 @@ class Audio(DisplayObject): def __init__(self, data=None, filename=None, url=None, embed=None, rate=None, autoplay=False): if filename is None and url is None and data is None: - raise ValueError("No image data found. Expecting filename, url, or data.") + raise ValueError("No audio data found. Expecting filename, url, or data.") if embed is False and url is None: raise ValueError("No url found. Expecting url when embed=False")