Skip to content

gh-149879: Fix test_capi on Cygwin#150252

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:test_capi
May 22, 2026
Merged

gh-149879: Fix test_capi on Cygwin#150252
vstinner merged 1 commit into
python:mainfrom
vstinner:test_capi

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented May 22, 2026

Fix Test_Pep523AllowSpecialization tests of test_capi.test_misc.

On Cygwin, _PyEval_EvalFrameDefault in _testinternalcapi is not the same as _PyEval_EvalFrameDefault in python.exe. So pass NULL explicitly to use the default function (_PyEval_EvalFrameDefault).

Fix Test_Pep523AllowSpecialization tests of test_capi.test_misc.

On Cygwin, _PyEval_EvalFrameDefault in _testinternalcapi is not the
same as _PyEval_EvalFrameDefault in python.exe. So pass NULL
explicitly to use the default function (_PyEval_EvalFrameDefault).
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label May 22, 2026
@vstinner vstinner merged commit e020836 into python:main May 22, 2026
116 of 120 checks passed
@vstinner vstinner deleted the test_capi branch May 22, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant