MCPcopy Index your code
hub / github.com/ipython/ipython / test_progress_iter

Function test_progress_iter

tests/test_display_2.py:351–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

349
350
351def test_progress_iter():
352 with capture_output(display=False) as captured:
353 for i in display.ProgressBar(5):
354 out = captured.stdout
355 assert "{0}/5".format(i) in out
356 out = captured.stdout
357 assert "5/5" in out
358
359
360def test_json():

Callers

nothing calls this directly

Calls 2

capture_outputClass · 0.85
formatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…