From bc48368ad57a8b70ac2d28e5eb7d42cf5419565c 2017-08-26 14:26:25 From: Marius van Niekerk Date: 2017-08-26 14:26:25 Subject: [PATCH] add some light tests --- diff --git a/IPython/core/tests/test_display.py b/IPython/core/tests/test_display.py index 7357ba5..ec7b5bc 100644 --- a/IPython/core/tests/test_display.py +++ b/IPython/core/tests/test_display.py @@ -194,6 +194,12 @@ def test_displayobject_repr(): j._show_mem_addr = False nt.assert_equal(repr(j), '') +def test_progress(): + p = display.ProgressBar(10) + nt.assert_equal(repr(p), '') + p._show_mem_addr = True + nt.assert_equal(p._repr_html_(), "") + def test_json(): d = {'a': 5} lis = [d]