diff --git a/IPython/core/tests/test_display.py b/IPython/core/tests/test_display.py
index 05f4529..18c13d5 100644
--- a/IPython/core/tests/test_display.py
+++ b/IPython/core/tests/test_display.py
@@ -197,7 +197,9 @@ def test_displayobject_repr():
def test_progress():
p = display.ProgressBar(10)
nt.assert_true('0/10' in repr(p))
- nt.assert_equal(p._repr_html_(), "")
+ p.html_width = '100%'
+ p.progress = 5
+ nt.assert_equal(p._repr_html_(), "")
def test_json():
d = {'a': 5}