()
| 248 | m_warn.assert_called_with('Consider using IPython.display.IFrame instead') |
| 249 | |
| 250 | def test_progress(): |
| 251 | p = display.ProgressBar(10) |
| 252 | nt.assert_in('0/10',repr(p)) |
| 253 | p.html_width = '100%' |
| 254 | p.progress = 5 |
| 255 | nt.assert_equal(p._repr_html_(), "<progress style='width:100%' max='10' value='5'></progress>") |
| 256 | |
| 257 | def test_progress_iter(): |
| 258 | with capture_output(display=False) as captured: |
nothing calls this directly
no test coverage detected