MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / _format_duration

Function _format_duration

unity_cli/cli/output.py:527–528  ·  view source on GitHub ↗
(duration: Any)

Source from the content-addressed store, hash-verified

525
526
527def _format_duration(duration: Any) -> str:
528 return f"{duration:.3f}s" if isinstance(duration, float) else str(duration)
529
530
531_TEST_RESULT_STYLES: dict[str, str] = {

Callers 1

print_test_results_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected