We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test_dict
test_abstract
test_capi
_testcapi
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
All other tests guard this import with import_helper.import_module('_testcapi') (or something else). Example:
import_helper.import_module('_testcapi')
cpython/Lib/test/test_capi/test_watchers.py
Lines 4 to 8 in 7e30821
Because some other Python implementations might not have this module.
I think that we should always check that _testcapi might be missing. I have a PR ready.
The text was updated successfully, but these errors were encountered:
pythongh-110529: Guard _testcapi imports in tests
45d59ba
sobolevn
No branches or pull requests
Bug report
All other tests guard this import with
import_helper.import_module('_testcapi')
(or something else). Example:cpython/Lib/test/test_capi/test_watchers.py
Lines 4 to 8 in 7e30821
Because some other Python implementations might not have this module.
I think that we should always check that
_testcapi
might be missing.I have a PR ready.
Linked PRs
_testcapi
imports in tests #110530The text was updated successfully, but these errors were encountered: