]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41718: libregrtest avoids importing datetime (GH-24985)
authorVictor Stinner <vstinner@python.org>
Tue, 23 Mar 2021 00:40:31 +0000 (01:40 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Mar 2021 00:40:31 +0000 (01:40 +0100)
commit9feae41c4f04ca27fd2c865807a5caeb50bf4fc4
treefbc3f75717ab19ca03643b86549f38c42fcff48e
parent30793e81bd90f3346e962435d49073bc588f067c
bpo-41718: libregrtest avoids importing datetime (GH-24985)

* libregrtest reimplements datetime.timedelta.__str__()
* support.testresult only imports datetime if USE_XML is true.
Lib/test/libregrtest/main.py
Lib/test/support/testresult.py