]> granicus.if.org Git - python/commit
bpo-33718: regrtest: use format_duration() to display failed tests (GH-7686)
authorVictor Stinner <vstinner@redhat.com>
Thu, 14 Jun 2018 12:58:13 +0000 (14:58 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Jun 2018 12:58:13 +0000 (14:58 +0200)
commit4ffe9c2b251f6e027b26250b7a2618e78d4edd22
tree513f1108f7b17cfddebda68d49d5e58b47b54397
parentdfa9643d292dcaa14cbf3c44b8330ba2159976c0
bpo-33718: regrtest: use format_duration() to display failed tests (GH-7686)

* Enhance also format_duration(): work on integers and rounds towards
  +infinity (math.ceil).
* Write unit tests on format_duration()
Lib/test/libregrtest/runtest_mp.py
Lib/test/libregrtest/utils.py
Lib/test/test_regrtest.py