Skip to content

bpo-41718: libregrtest avoids importing datetime #24985

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2021
Merged

bpo-41718: libregrtest avoids importing datetime #24985

merged 1 commit into from
Mar 23, 2021

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 23, 2021

  • libregrtest reimplements datetime.timedelta.str()
  • support.testresult only imports datetime if USE_XML is true.

https://bugs.python.org/issue41718

* libregrtest reimplements datetime.timedelta.__str__()
* support.testresult only imports datetime if USE_XML is true.
@vstinner vstinner merged commit 9feae41 into python:master Mar 23, 2021
@vstinner vstinner deleted the regrtest_datetime branch March 23, 2021 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants