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
Fix tests to work with -OO #50541
Comments
The attached patch fixes a number of tests to work when -OO is given to With this applied, PYTHONOPTIMIZE=2 ./python.exe -OO Lib/test/regrtest.py |
Rather than silently skipping stuff or writing to stderr, the patch |
I've attached a patch against trunk (r76107) which I think implements One thing that isn't really clean is that test_docxmlrpc has two skipped For comparison's sake, regrtest with -OO on r76107 results in 297 OK and |
Applied a slightly cleaned up (with help from Brian and Matias Torchinsky at the sprint) version of Brian's patch in r78351. Leaving open until merged to py3k. |
Committed to py3k in r78400. Had to add the make_request_and_skipIf decorator to test_xmplrc as well. |
Benjamin pointed out that the primary copy of lib2to3 is not trunk, so I backed out the change to that package. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: