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
some tests fail with -O (assertions off) #92886
Comments
Could reproduce issue with 4 test cases in windows with Python 3.9:
|
Was able to reproduce this. I have a draft PR here: #93174 |
…maplib.py` (pythonGH-93237) (cherry picked from commit 8150b8c) Co-authored-by: jackh-ncl <1750152+jackh-ncl@users.noreply.github.com>
…maplib.py` (pythonGH-93237) (cherry picked from commit 8150b8c) Co-authored-by: jackh-ncl <1750152+jackh-ncl@users.noreply.github.com>
On main (3.12 branch):
% ./python.exe -Om test -j2
[...]
10 tests failed:
test_clinic test_coroutines test_dis test_imaplib
test_multiprocessing_forkserver test_multiprocessing_spawn
test_py_compile test_sys_settrace test_wsgiref test_zipimport
This seems wrong because
(1) it indicates that some assertions should be exceptions instead.
(2) it implies that we don't have a buildbot testing with -O
The text was updated successfully, but these errors were encountered: