Skip to content

bpo-31904: fix test_doctest.py failures for VxWorks #23419

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 4 commits into from
Dec 4, 2020

Conversation

pxinwr
Copy link
Contributor

@pxinwr pxinwr commented Nov 20, 2020

In test_CLI(), "print(normalize(err))" expects "No such file" which has the first letter n as capital. However VxWorks outputs 'no such file with the first letter n as lower case. So tuned accordingly.

https://bugs.python.org/issue31904

@jstasiak
Copy link
Contributor

Is there a publicly and freely available VxWorks VM image that one could use to test this?

@pxinwr
Copy link
Contributor Author

pxinwr commented Nov 24, 2020

Is there a publicly and freely available VxWorks VM image that one could use to test this?
Try VxWorks SDK: https://labs.windriver.com/downloads/wrsdk.html
See README there for how to run up Python.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@pxinwr pxinwr force-pushed the fix-issue-31904-doctest branch from 9fc6556 to 677894b Compare December 2, 2020 07:43
@pxinwr
Copy link
Contributor Author

pxinwr commented Dec 2, 2020

I have made the requested changes; please review again

@bedevere-bot
Copy link

Thanks for making the requested changes!

@gpshead: please review the changes made to this pull request.

@bedevere-bot bedevere-bot requested a review from gpshead December 2, 2020 07:45
@vstinner
Copy link
Member

vstinner commented Dec 4, 2020

Thanks for the update @pxinwr and thanks @gpshead for merging the change ;-)

adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Fix test_doctest.py failures for VxWorks by avoiding exact error message checks. (better for everyone all around)
@pxinwr pxinwr deleted the fix-issue-31904-doctest branch May 7, 2021 07:42
@kuhlenough kuhlenough mannequin mentioned this pull request Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants