-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Limited API tests are now incorrectly skipped unconditionally #109045
Comments
Commit 13a0007 (python#108663) made all Python builds compatible with the Limited API, and removed the LIMITED_API_AVAILABLE flag. However, some tests were still checking for that flag, so they were now being incorrectly skipped. Remove these checks to let these tests run again. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
…09046) Commit 13a0007 (#108663) made all Python builds compatible with the Limited API, and removed the LIMITED_API_AVAILABLE flag. However, some tests were still checking for that flag, so they were now being incorrectly skipped. Remove these checks to let these tests run again. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
I'm now curious. How did you notice that some tests were always skipped? |
Before:
After:
I can see that there are less skipped tests :-) By the way, remaining skips:
|
I created issue #109050 for |
I actually found this from the source—during an unrelated investigation I noticed that changes to (The unrelated investigation is into the feasibility of |
It's always good to test the tests by injecting errors on purpose and making sure that... they fail :-) Especially during development! |
Commit 13a0007 (#108663, cc @vstinner) made all Python builds compatible with the Limited API, and removed the
LIMITED_API_AVAILABLE
flag. However, some tests are still checking for that flag, so they are now being incorrectly skipped.cpython/Modules/_testcapimodule.c
Lines 4000 to 4010 in 3bfa24e
cpython/Lib/test/support/__init__.py
Lines 1088 to 1094 in 3bfa24e
Linked PRs
The text was updated successfully, but these errors were encountered: