MCPcopy Create free account
hub / github.com/ipython/ipython / justify

Function justify

IPython/testing/iptestcontroller.py:325–328  ·  view source on GitHub ↗
(ltext, rtext, width=70, fill='-')

Source from the content-addressed store, hash-verified

323 to_run, not_run = prepare_controllers(options)
324
325 def justify(ltext, rtext, width=70, fill='-'):
326 ltext += ' '
327 rtext = (' ' + rtext).rjust(width - len(ltext), fill)
328 return ltext + rtext
329
330 # Run all test runners, tracking execution time
331 failed = []

Callers 1

run_iptestallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected