Skip to content

[3.14] gh-145557: Check ctypes is available in test_external_inspection (GH-145558)#145565

Merged
vstinner merged 1 commit intopython:3.14from
miss-islington:backport-7232883-3.14
Mar 5, 2026
Merged

[3.14] gh-145557: Check ctypes is available in test_external_inspection (GH-145558)#145565
vstinner merged 1 commit intopython:3.14from
miss-islington:backport-7232883-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 5, 2026

Currently TestGetStackTrace.test_self_trace_after_ctypes_import() will fail if
the _ctypes extension is not built. Make it match test_ctypes by skipping
the test in that case.
(cherry picked from commit 7232883)

Co-authored-by: Alex Malyshev lex.malyshev@gmail.com

pythonGH-145558)

Currently TestGetStackTrace.test_self_trace_after_ctypes_import() will fail if
the _ctypes extension is not built.  Make it match test_ctypes by skipping
the test in that case.
(cherry picked from commit 7232883adfc28f94a62d2e79c897db59711702d7)

Co-authored-by: Alex Malyshev <lex.malyshev@gmail.com>
@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Mar 5, 2026
@vstinner vstinner enabled auto-merge (squash) March 5, 2026 19:05
@vstinner vstinner merged commit 635426f into python:3.14 Mar 5, 2026
51 checks passed
@miss-islington miss-islington deleted the backport-7232883-3.14 branch March 5, 2026 19:31
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.

3 participants